A PHP reflection helper library.

0.3.1 2016-03-21 01:00 UTC

This package is not auto-updated.

Last update: 2024-11-21 00:54:48 UTC


README

A PHP reflection helper library.

Install

$ composer require radioactivehamster/reflect

Usage

<?php

$classReflection    = RadHam\Reflect::factory('PDO');
$constantReflection = RadHam\Reflect::factory('E_ERROR');
$functionReflection = RadHam\Reflect::factory('trim'):
$stringReflection   = RadHam\Reflect::factory('Hello world!');

License

The MIT License (Expat). See the license file for details.