PHP code example of brandembassy / nette-di-annotation-extension
1. Go to this page and download the library: Download brandembassy/nette-di-annotation-extension 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/ */
brandembassy / nette-di-annotation-extension example snippets
declare(strict_types = 1);
namespace AwesomeApp;
/**
* @discovery
*/
class AwesomeService
{
/* ... */
}
\Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredName(\BrandEmbassy\Nette\DI\Extensions\AnnotationExtension::ANNOTATION_NAME);