PHP Snippet 1:
bin/console doctrine:schema:update --force
PHP Snippet 2:
{% if error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
PHP Snippet 3:
<div class="alert alert-danger">{{ error }}</div>
PHP Snippet 4:
class: App/Entity/User;
PHP Snippet 5:
class: App\Entity\User;
PHP Snippet 6:
php bin/console doctrine:schema:update --force
PHP Snippet 7:
#rm -rf var/cache/*
PHP Snippet 8:
$sudo rm -rf var/cache/*
PHP Snippet 9:
public function loginAction(AuthenticationUtils $authenticationUtils, LoggerInterface $logger): Response
{
if (($error = $authenticationUtils->getLastAuthenticationError()) && ($error instanceof AuthenticationServiceException)) {
$logger->critical($error->getMessage(), $error->getTrace());
}
...
}