PHP code example of rector / rector-nette-to-symfony
1. Go to this page and download the library: Download rector/rector-nette-to-symfony 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/ */
rector / rector-nette-to-symfony example snippets
use Rector\NetteToSymfony\Set\NetteToSymfonySetList;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$containerConfigurator->import(NetteToSymfonySetList::NETTE_TO_SYMFONY);
};