PHP code example of devsdmf / annotations
1. Go to this page and download the library: Download devsdmf/annotations 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/ */
devsdmf / annotations example snippets
use Devsdmf\Annotations\Reader;
use ReflectionClass;
$reflector = new ReflectionClass('MyClass');
$reader = new Reader();
$annotation = $reader->getClassAnnotations($reflector);