<?php 'Sonata' => __DIR__, // ... other declarations ));
Dodałem go do pliku app/autoload.php i wychodzi lipa, mam wrażenie że nie wklejam tego we właściwych linijkach. Mój autoload.php:
<?php use Doctrine\Common\Annotations\AnnotationRegistry; $loader = require __DIR__.'/../vendor/autoload.php'; 'Sonata' => __DIR__, // ... other declarations )); // intl if (!function_exists('intl_get_error_code')) { require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php'; $loader->add('', __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs'); } return $loader;
Odświerzam, pomoże mi ktoś?