This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spam: | |
detected: Hum... On dirait que vous êtes un robot ! Malheureusement, les robots ne sont pas encore autorisés à laisser des commentaires. Ré-essayez en vous appliquant un peu mieux si vous êtes un humain ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Linkofy\CommonBundle\Menu; | |
use Knp\Menu\FactoryInterface; | |
use Symfony\Component\DependencyInjection\ContainerAware; | |
class Builder extends ContainerAware | |
{ | |
public function mainMenu(FactoryInterface $factory, array $options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function displayAction(Post $post) | |
{ | |
// page caching | |
$response = new Response(); | |
$response->setLastModified($post->getModificationDate()); | |
$response->setPublic(); | |
if ($response->isNotModified($this->getRequest())) { | |
return $response; | |
} |