123456789101112131415161718192021222324252627282930313233 |
- <?php
- /*
- * This file is part of the Sonata Project package.
- *
- * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Sonata\AdminBundle\Tests\Block;
- use Sonata\AdminBundle\Block\AdminListBlockService;
- use Symfony\Component\OptionsResolver\OptionsResolver;
- /**
- * @author Sullivan Senechal <soullivaneuh@gmail.com>
- */
- class FakeBlockService extends AdminListBlockService
- {
- public function configureSettings(OptionsResolver $resolver)
- {
- parent::configureSettings($resolver);
- $resolver
- ->setDefaults(array(
- 'foo' => 'bar',
- 'groups' => true,
- ))
- ;
- }
- }
|