PHP code example of prototypeblocks / php-reflection
1. Go to this page and download the library: Download prototypeblocks/php-reflection library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
prototypeblocks / php-reflection example snippets
use Prototypeblocks\Reflection\Annotations;
$annotations = new Annotations;
$annotation = $annotations->getAnnotations('method', 'testClass', 'indexAction');
print_r($annotation);