Мало кто знает, но что бы работал migration:diff вам не нужно ставить ORM.
Что бы это работало объявим простой сервис:
<?php| # src/Acme/DemoBundle/Security/Authentication/Handler/LoginSuccessHandler.php | |
| <?php | |
| namespace Acme\DemoBundle\Security\Authentication\Handler; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\RedirectResponse; | |
| use Symfony\Component\Routing\Router; | |
| use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; | |
| use Symfony\Component\Security\Core\SecurityContext; |
| <?php | |
| function pinfo() { | |
| ob_start(); | |
| phpinfo(); | |
| $data = ob_get_contents(); | |
| ob_clean(); | |
| return $data; | |
| } |