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
diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php | |
index ed7dbb9..d61509d 100644 | |
--- a/src/Symfony/Component/HttpKernel/Kernel.php | |
+++ b/src/Symfony/Component/HttpKernel/Kernel.php | |
@@ -295,25 +295,21 @@ abstract class Kernel implements HttpKernelInterface, \Serializable | |
$isResource = 0 === strpos($path, 'Resources'); | |
- // return the first matching one | |
- if (true === $first) { |
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
diff --git a/Document/UserManager.php b/Document/UserManager.php | |
index ef28089..c5d5b2d 100644 | |
--- a/Document/UserManager.php | |
+++ b/Document/UserManager.php | |
@@ -19,11 +19,13 @@ class UserManager extends BaseUserManager | |
{ | |
parent::__construct($encoder, $algorithm, $canonicalizer); | |
- $this->dm = $dm; | |
- $this->repository = $dm->getRepository($class); |
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
base_application.config: | |
entities: | |
user: | |
label: User | |
group: FOS | |
class: FOS\UserBundle\Admin\Entity\UserAdmin | |
entity: Application\FOS\UserBundle\Entity\User | |
controller: FOS\UserBundle\Controller\UserAdminController | |
options: |
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
#config.yml | |
security.config: | |
providers: | |
fos_user: | |
id: fos_user.user_manager | |
firewalls: | |
admin: | |
pattern: /admin/.* | |
form_login: true |
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
( ! ) Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete in /Users/thomas/Projects/kooqit/src/vendor/twig/lib/Twig/Template.php on line 172 | |
Call Stack | |
# Time Memory Function Location | |
1 0.0001 645032 {main}( ) ../index_dev.php:0 | |
2 0.0023 877336 Symfony\Component\HttpKernel\Kernel->handle( ) ../index_dev.php:12 | |
3 0.7366 5202704 Symfony\Bundle\FrameworkBundle\HttpKernel->handle( ) ../Kernel.php:134 | |
4 0.7366 5203424 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../HttpKernel.php:39 | |
5 0.7366 5203424 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../HttpKernel.php:49 | |
6 0.7505 5888680 Symfony\Component\HttpKernel\HttpKernel->filterResponse( ) ../HttpKernel.php:113 |
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 | |
/* | |
* This file is part of the Sonata project. | |
* | |
* (c) Thomas Rabaix <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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 | |
/* | |
* This file is part of the Symfony package. | |
* | |
* (c) Fabien Potencier <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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
diff --git a/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php b/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php | |
index 8af07d0..b4964cf 100644 | |
--- a/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php | |
+++ b/src/Symfony/Component/Form/FieldFactory/ValidatorFieldFactoryGuesser.php | |
@@ -81,14 +81,17 @@ class ValidatorFieldFactoryGuesser implements FieldFactoryGuesserInterface | |
{ | |
$guesses = array(); | |
$classMetadata = $this->metadataFactory->getClassMetadata($class); | |
- $memberMetadatas = $classMetadata->getMemberMetadatas($property); | |
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
{% assetic 'bundles/sonatablueprint/*.css', filter='google_closure_compiler', url='css/main.css' %} | |
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" /> | |
{% endassetic %} |
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
/** | |
* This method can be overwritten to tweak to form construction, by default the form | |
* is built by reading the FieldDescription | |
* | |
* @return void | |
*/ | |
protected function configureFormFields(Form $form) | |
{ | |
foreach ($this->getFormFields() as $fieldDescription) { |