This file contains hidden or 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 | |
use Liip\FunctionalTestBundle\Test\WebTestCase; | |
use Symfony\Component\HttpKernel\Profiler\Profiler; | |
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; | |
use Symfony\Component\Security\Core\User\UserInterface; | |
/** | |
* @group functional | |
*/ |
This file contains hidden or 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 Security\Authentication; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\Security\Core\Exception\AuthenticationException; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface; | |
class AjaxFailureHandler implements AuthenticationFailureHandlerInterface |
This file contains hidden or 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
Parameters: | |
forum.repository.topic.class | |
forum.controller.topic.class | |
forum.form.topic.class | |
Serices: | |
forum.repository.topic | |
forum.controller.topic |
This file contains hidden or 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 | |
/** | |
* @mongodb:Document | |
*/ | |
class Band | |
{ | |
/** | |
* @mongodb:Field(type="string") | |
* @var string |
This file contains hidden or 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 | |
class Tag | |
{ | |
public function normalizeName($name) | |
{ | |
$normal = trim($name); | |
$normal = strtolower($normal); | |
return $normal; |
This file contains hidden or 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
<div id="breadcrumbs"> | |
{% for breadcrumb in breadcrumbs %} | |
{% if not loop.last %} | |
{{ breadcrumb | raw }} {{ breadcrumbs.separator | raw }} | |
{% else %} | |
<strong>{{ breadcrumb.label }}</strong> | |
{% endif %} | |
{% endfor %} | |
</div> |
This file contains hidden or 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 | |
/** | |
* The problem | |
* ----------- | |
* People start to build Symfony2 Bundles which need a database. | |
* Instead of having ORM-only Bundles and ODM-only Bundles, | |
* people try to make Bundles more generic, for obvious reasons. | |
* | |
* A proposition |
NewerOlder