Duplicate code is one of the most pungent code smells. A rule that is often used is to re-structure code once it is duplicated in three or more places.
Common duplication problems, and corresponding solutions are:
Complex classes like SymfonyAppTestDebugProjectContainer often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use SymfonyAppTestDebugProjectContainer, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 16 | class SymfonyAppTestDebugProjectContainer extends Container |
||
| 17 | { |
||
| 18 | private $parameters; |
||
| 19 | private $targetDirs = array(); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructor. |
||
| 23 | */ |
||
| 24 | public function __construct() |
||
| 210 | |||
| 211 | /** |
||
| 212 | * {@inheritdoc} |
||
| 213 | */ |
||
| 214 | public function compile() |
||
| 218 | |||
| 219 | /** |
||
| 220 | * Gets the 'alice.processor.entity_managers' service. |
||
| 221 | * |
||
| 222 | * This service is shared. |
||
| 223 | * This method always returns the same instance of the service. |
||
| 224 | * |
||
| 225 | * @return \Hautelook\AliceBundle\Tests\SymfonyApp\TestBundle\DataFixtures\Processor\BrandProcessor A Hautelook\AliceBundle\Tests\SymfonyApp\TestBundle\DataFixtures\Processor\BrandProcessor instance |
||
| 226 | */ |
||
| 227 | protected function getAlice_Processor_EntityManagersService() |
||
| 231 | |||
| 232 | /** |
||
| 233 | * Gets the 'annotation_reader' service. |
||
| 234 | * |
||
| 235 | * This service is shared. |
||
| 236 | * This method always returns the same instance of the service. |
||
| 237 | * |
||
| 238 | * @return \Doctrine\Common\Annotations\CachedReader A Doctrine\Common\Annotations\CachedReader instance |
||
| 239 | */ |
||
| 240 | protected function getAnnotationReaderService() |
||
| 244 | |||
| 245 | /** |
||
| 246 | * Gets the 'cache.app' service. |
||
| 247 | * |
||
| 248 | * This service is shared. |
||
| 249 | * This method always returns the same instance of the service. |
||
| 250 | * |
||
| 251 | * @return \Symfony\Component\Cache\Adapter\FilesystemAdapter A Symfony\Component\Cache\Adapter\FilesystemAdapter instance |
||
| 252 | */ |
||
| 253 | protected function getCache_AppService() |
||
| 257 | |||
| 258 | /** |
||
| 259 | * Gets the 'cache.default_redis_provider' service. |
||
| 260 | * |
||
| 261 | * This service is shared. |
||
| 262 | * This method always returns the same instance of the service. |
||
| 263 | * |
||
| 264 | * @return \Redis A Redis instance |
||
| 265 | */ |
||
| 266 | protected function getCache_DefaultRedisProviderService() |
||
| 270 | |||
| 271 | /** |
||
| 272 | * Gets the 'cache.system' service. |
||
| 273 | * |
||
| 274 | * This service is shared. |
||
| 275 | * This method always returns the same instance of the service. |
||
| 276 | * |
||
| 277 | * @return \Symfony\Component\Cache\Adapter\AdapterInterface A Symfony\Component\Cache\Adapter\AdapterInterface instance |
||
| 278 | */ |
||
| 279 | protected function getCache_SystemService() |
||
| 283 | |||
| 284 | /** |
||
| 285 | * Gets the 'cache_clearer' service. |
||
| 286 | * |
||
| 287 | * This service is shared. |
||
| 288 | * This method always returns the same instance of the service. |
||
| 289 | * |
||
| 290 | * @return \Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer A Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer instance |
||
| 291 | */ |
||
| 292 | protected function getCacheClearerService() |
||
| 302 | |||
| 303 | /** |
||
| 304 | * Gets the 'cache_warmer' service. |
||
| 305 | * |
||
| 306 | * This service is shared. |
||
| 307 | * This method always returns the same instance of the service. |
||
| 308 | * |
||
| 309 | * @return \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate A Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate instance |
||
| 310 | */ |
||
| 311 | protected function getCacheWarmerService() |
||
| 315 | |||
| 316 | /** |
||
| 317 | * Gets the 'config_cache_factory' service. |
||
| 318 | * |
||
| 319 | * This service is shared. |
||
| 320 | * This method always returns the same instance of the service. |
||
| 321 | * |
||
| 322 | * @return \Symfony\Component\Config\ResourceCheckerConfigCacheFactory A Symfony\Component\Config\ResourceCheckerConfigCacheFactory instance |
||
| 323 | */ |
||
| 324 | protected function getConfigCacheFactoryService() |
||
| 328 | |||
| 329 | /** |
||
| 330 | * Gets the 'debug.argument_resolver' service. |
||
| 331 | * |
||
| 332 | * This service is shared. |
||
| 333 | * This method always returns the same instance of the service. |
||
| 334 | * |
||
| 335 | * @return \Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver A Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver instance |
||
| 336 | */ |
||
| 337 | protected function getDebug_ArgumentResolverService() |
||
| 341 | |||
| 342 | /** |
||
| 343 | * Gets the 'debug.controller_resolver' service. |
||
| 344 | * |
||
| 345 | * This service is shared. |
||
| 346 | * This method always returns the same instance of the service. |
||
| 347 | * |
||
| 348 | * @return \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver A Symfony\Component\HttpKernel\Controller\TraceableControllerResolver instance |
||
| 349 | */ |
||
| 350 | protected function getDebug_ControllerResolverService() |
||
| 354 | |||
| 355 | /** |
||
| 356 | * Gets the 'debug.debug_handlers_listener' service. |
||
| 357 | * |
||
| 358 | * This service is shared. |
||
| 359 | * This method always returns the same instance of the service. |
||
| 360 | * |
||
| 361 | * @return \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener A Symfony\Component\HttpKernel\EventListener\DebugHandlersListener instance |
||
| 362 | */ |
||
| 363 | protected function getDebug_DebugHandlersListenerService() |
||
| 367 | |||
| 368 | /** |
||
| 369 | * Gets the 'debug.event_dispatcher' service. |
||
| 370 | * |
||
| 371 | * This service is shared. |
||
| 372 | * This method always returns the same instance of the service. |
||
| 373 | * |
||
| 374 | * @return \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher instance |
||
| 375 | */ |
||
| 376 | View Code Duplication | protected function getDebug_EventDispatcherService() |
|
| 393 | |||
| 394 | /** |
||
| 395 | * Gets the 'debug.stopwatch' service. |
||
| 396 | * |
||
| 397 | * This service is shared. |
||
| 398 | * This method always returns the same instance of the service. |
||
| 399 | * |
||
| 400 | * @return \Symfony\Component\Stopwatch\Stopwatch A Symfony\Component\Stopwatch\Stopwatch instance |
||
| 401 | */ |
||
| 402 | protected function getDebug_StopwatchService() |
||
| 406 | |||
| 407 | /** |
||
| 408 | * Gets the 'doctrine' service. |
||
| 409 | * |
||
| 410 | * This service is shared. |
||
| 411 | * This method always returns the same instance of the service. |
||
| 412 | * |
||
| 413 | * @return \Doctrine\Bundle\DoctrineBundle\Registry A Doctrine\Bundle\DoctrineBundle\Registry instance |
||
| 414 | */ |
||
| 415 | protected function getDoctrineService() |
||
| 419 | |||
| 420 | /** |
||
| 421 | * Gets the 'doctrine.dbal.connection_factory' service. |
||
| 422 | * |
||
| 423 | * This service is shared. |
||
| 424 | * This method always returns the same instance of the service. |
||
| 425 | * |
||
| 426 | * @return \Doctrine\Bundle\DoctrineBundle\ConnectionFactory A Doctrine\Bundle\DoctrineBundle\ConnectionFactory instance |
||
| 427 | */ |
||
| 428 | protected function getDoctrine_Dbal_ConnectionFactoryService() |
||
| 432 | |||
| 433 | /** |
||
| 434 | * Gets the 'doctrine.dbal.default_connection' service. |
||
| 435 | * |
||
| 436 | * This service is shared. |
||
| 437 | * This method always returns the same instance of the service. |
||
| 438 | * |
||
| 439 | * @return \Doctrine\DBAL\Connection A Doctrine\DBAL\Connection instance |
||
| 440 | */ |
||
| 441 | protected function getDoctrine_Dbal_DefaultConnectionService() |
||
| 456 | |||
| 457 | /** |
||
| 458 | * Gets the 'doctrine.dbal.default_shard_manager' service. |
||
| 459 | * |
||
| 460 | * This service is shared. |
||
| 461 | * This method always returns the same instance of the service. |
||
| 462 | * |
||
| 463 | * @return \Doctrine\DBAL\Sharding\PoolingShardManager A Doctrine\DBAL\Sharding\PoolingShardManager instance |
||
| 464 | */ |
||
| 465 | protected function getDoctrine_Dbal_DefaultShardManagerService() |
||
| 469 | |||
| 470 | /** |
||
| 471 | * Gets the 'doctrine.dbal.mysql_connection' service. |
||
| 472 | * |
||
| 473 | * This service is shared. |
||
| 474 | * This method always returns the same instance of the service. |
||
| 475 | * |
||
| 476 | * @return \Doctrine\DBAL\Connection A Doctrine\DBAL\Connection instance |
||
| 477 | */ |
||
| 478 | protected function getDoctrine_Dbal_MysqlConnectionService() |
||
| 493 | |||
| 494 | /** |
||
| 495 | * Gets the 'doctrine.dbal.mysql_shard_manager' service. |
||
| 496 | * |
||
| 497 | * This service is shared. |
||
| 498 | * This method always returns the same instance of the service. |
||
| 499 | * |
||
| 500 | * @return \Doctrine\DBAL\Sharding\PoolingShardManager A Doctrine\DBAL\Sharding\PoolingShardManager instance |
||
| 501 | */ |
||
| 502 | protected function getDoctrine_Dbal_MysqlShardManagerService() |
||
| 506 | |||
| 507 | /** |
||
| 508 | * Gets the 'doctrine.orm.default_entity_listener_resolver' service. |
||
| 509 | * |
||
| 510 | * This service is shared. |
||
| 511 | * This method always returns the same instance of the service. |
||
| 512 | * |
||
| 513 | * @return \Doctrine\ORM\Mapping\DefaultEntityListenerResolver A Doctrine\ORM\Mapping\DefaultEntityListenerResolver instance |
||
| 514 | */ |
||
| 515 | protected function getDoctrine_Orm_DefaultEntityListenerResolverService() |
||
| 519 | |||
| 520 | /** |
||
| 521 | * Gets the 'doctrine.orm.default_entity_manager' service. |
||
| 522 | * |
||
| 523 | * This service is shared. |
||
| 524 | * This method always returns the same instance of the service. |
||
| 525 | * |
||
| 526 | * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance |
||
| 527 | */ |
||
| 528 | View Code Duplication | protected function getDoctrine_Orm_DefaultEntityManagerService() |
|
| 560 | |||
| 561 | /** |
||
| 562 | * Gets the 'doctrine.orm.default_listeners.attach_entity_listeners' service. |
||
| 563 | * |
||
| 564 | * This service is shared. |
||
| 565 | * This method always returns the same instance of the service. |
||
| 566 | * |
||
| 567 | * @return \Doctrine\ORM\Tools\AttachEntityListenersListener A Doctrine\ORM\Tools\AttachEntityListenersListener instance |
||
| 568 | */ |
||
| 569 | protected function getDoctrine_Orm_DefaultListeners_AttachEntityListenersService() |
||
| 573 | |||
| 574 | /** |
||
| 575 | * Gets the 'doctrine.orm.default_manager_configurator' service. |
||
| 576 | * |
||
| 577 | * This service is shared. |
||
| 578 | * This method always returns the same instance of the service. |
||
| 579 | * |
||
| 580 | * @return \Doctrine\Bundle\DoctrineBundle\ManagerConfigurator A Doctrine\Bundle\DoctrineBundle\ManagerConfigurator instance |
||
| 581 | */ |
||
| 582 | protected function getDoctrine_Orm_DefaultManagerConfiguratorService() |
||
| 586 | |||
| 587 | /** |
||
| 588 | * Gets the 'doctrine.orm.mysql_entity_listener_resolver' service. |
||
| 589 | * |
||
| 590 | * This service is shared. |
||
| 591 | * This method always returns the same instance of the service. |
||
| 592 | * |
||
| 593 | * @return \Doctrine\ORM\Mapping\DefaultEntityListenerResolver A Doctrine\ORM\Mapping\DefaultEntityListenerResolver instance |
||
| 594 | */ |
||
| 595 | protected function getDoctrine_Orm_MysqlEntityListenerResolverService() |
||
| 599 | |||
| 600 | /** |
||
| 601 | * Gets the 'doctrine.orm.mysql_entity_manager' service. |
||
| 602 | * |
||
| 603 | * This service is shared. |
||
| 604 | * This method always returns the same instance of the service. |
||
| 605 | * |
||
| 606 | * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance |
||
| 607 | */ |
||
| 608 | View Code Duplication | protected function getDoctrine_Orm_MysqlEntityManagerService() |
|
| 640 | |||
| 641 | /** |
||
| 642 | * Gets the 'doctrine.orm.mysql_listeners.attach_entity_listeners' service. |
||
| 643 | * |
||
| 644 | * This service is shared. |
||
| 645 | * This method always returns the same instance of the service. |
||
| 646 | * |
||
| 647 | * @return \Doctrine\ORM\Tools\AttachEntityListenersListener A Doctrine\ORM\Tools\AttachEntityListenersListener instance |
||
| 648 | */ |
||
| 649 | protected function getDoctrine_Orm_MysqlListeners_AttachEntityListenersService() |
||
| 653 | |||
| 654 | /** |
||
| 655 | * Gets the 'doctrine.orm.mysql_manager_configurator' service. |
||
| 656 | * |
||
| 657 | * This service is shared. |
||
| 658 | * This method always returns the same instance of the service. |
||
| 659 | * |
||
| 660 | * @return \Doctrine\Bundle\DoctrineBundle\ManagerConfigurator A Doctrine\Bundle\DoctrineBundle\ManagerConfigurator instance |
||
| 661 | */ |
||
| 662 | protected function getDoctrine_Orm_MysqlManagerConfiguratorService() |
||
| 666 | |||
| 667 | /** |
||
| 668 | * Gets the 'doctrine.orm.validator.unique' service. |
||
| 669 | * |
||
| 670 | * This service is shared. |
||
| 671 | * This method always returns the same instance of the service. |
||
| 672 | * |
||
| 673 | * @return \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator A Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator instance |
||
| 674 | */ |
||
| 675 | protected function getDoctrine_Orm_Validator_UniqueService() |
||
| 679 | |||
| 680 | /** |
||
| 681 | * Gets the 'doctrine.orm.validator_initializer' service. |
||
| 682 | * |
||
| 683 | * This service is shared. |
||
| 684 | * This method always returns the same instance of the service. |
||
| 685 | * |
||
| 686 | * @return \Symfony\Bridge\Doctrine\Validator\DoctrineInitializer A Symfony\Bridge\Doctrine\Validator\DoctrineInitializer instance |
||
| 687 | */ |
||
| 688 | protected function getDoctrine_Orm_ValidatorInitializerService() |
||
| 692 | |||
| 693 | /** |
||
| 694 | * Gets the 'doctrine_cache.providers.doctrine.orm.default_metadata_cache' service. |
||
| 695 | * |
||
| 696 | * This service is shared. |
||
| 697 | * This method always returns the same instance of the service. |
||
| 698 | * |
||
| 699 | * @return \Doctrine\Common\Cache\ArrayCache A Doctrine\Common\Cache\ArrayCache instance |
||
| 700 | */ |
||
| 701 | protected function getDoctrineCache_Providers_Doctrine_Orm_DefaultMetadataCacheService() |
||
| 709 | |||
| 710 | /** |
||
| 711 | * Gets the 'doctrine_cache.providers.doctrine.orm.default_query_cache' service. |
||
| 712 | * |
||
| 713 | * This service is shared. |
||
| 714 | * This method always returns the same instance of the service. |
||
| 715 | * |
||
| 716 | * @return \Doctrine\Common\Cache\ArrayCache A Doctrine\Common\Cache\ArrayCache instance |
||
| 717 | */ |
||
| 718 | protected function getDoctrineCache_Providers_Doctrine_Orm_DefaultQueryCacheService() |
||
| 726 | |||
| 727 | /** |
||
| 728 | * Gets the 'doctrine_cache.providers.doctrine.orm.default_result_cache' service. |
||
| 729 | * |
||
| 730 | * This service is shared. |
||
| 731 | * This method always returns the same instance of the service. |
||
| 732 | * |
||
| 733 | * @return \Doctrine\Common\Cache\ArrayCache A Doctrine\Common\Cache\ArrayCache instance |
||
| 734 | */ |
||
| 735 | protected function getDoctrineCache_Providers_Doctrine_Orm_DefaultResultCacheService() |
||
| 743 | |||
| 744 | /** |
||
| 745 | * Gets the 'doctrine_cache.providers.doctrine.orm.mysql_metadata_cache' service. |
||
| 746 | * |
||
| 747 | * This service is shared. |
||
| 748 | * This method always returns the same instance of the service. |
||
| 749 | * |
||
| 750 | * @return \Doctrine\Common\Cache\ArrayCache A Doctrine\Common\Cache\ArrayCache instance |
||
| 751 | */ |
||
| 752 | protected function getDoctrineCache_Providers_Doctrine_Orm_MysqlMetadataCacheService() |
||
| 760 | |||
| 761 | /** |
||
| 762 | * Gets the 'doctrine_cache.providers.doctrine.orm.mysql_query_cache' service. |
||
| 763 | * |
||
| 764 | * This service is shared. |
||
| 765 | * This method always returns the same instance of the service. |
||
| 766 | * |
||
| 767 | * @return \Doctrine\Common\Cache\ArrayCache A Doctrine\Common\Cache\ArrayCache instance |
||
| 768 | */ |
||
| 769 | protected function getDoctrineCache_Providers_Doctrine_Orm_MysqlQueryCacheService() |
||
| 777 | |||
| 778 | /** |
||
| 779 | * Gets the 'doctrine_cache.providers.doctrine.orm.mysql_result_cache' service. |
||
| 780 | * |
||
| 781 | * This service is shared. |
||
| 782 | * This method always returns the same instance of the service. |
||
| 783 | * |
||
| 784 | * @return \Doctrine\Common\Cache\ArrayCache A Doctrine\Common\Cache\ArrayCache instance |
||
| 785 | */ |
||
| 786 | protected function getDoctrineCache_Providers_Doctrine_Orm_MysqlResultCacheService() |
||
| 794 | |||
| 795 | /** |
||
| 796 | * Gets the 'faker.provider.foo' service. |
||
| 797 | * |
||
| 798 | * This service is shared. |
||
| 799 | * This method always returns the same instance of the service. |
||
| 800 | * |
||
| 801 | * @return \Hautelook\AliceBundle\Tests\SymfonyApp\TestBundle\DataFixtures\Faker\Provider\FooProvider A Hautelook\AliceBundle\Tests\SymfonyApp\TestBundle\DataFixtures\Faker\Provider\FooProvider instance |
||
| 802 | */ |
||
| 803 | protected function getFaker_Provider_FooService() |
||
| 807 | |||
| 808 | /** |
||
| 809 | * Gets the 'file_locator' service. |
||
| 810 | * |
||
| 811 | * This service is shared. |
||
| 812 | * This method always returns the same instance of the service. |
||
| 813 | * |
||
| 814 | * @return \Symfony\Component\HttpKernel\Config\FileLocator A Symfony\Component\HttpKernel\Config\FileLocator instance |
||
| 815 | */ |
||
| 816 | protected function getFileLocatorService() |
||
| 820 | |||
| 821 | /** |
||
| 822 | * Gets the 'filesystem' service. |
||
| 823 | * |
||
| 824 | * This service is shared. |
||
| 825 | * This method always returns the same instance of the service. |
||
| 826 | * |
||
| 827 | * @return \Symfony\Component\Filesystem\Filesystem A Symfony\Component\Filesystem\Filesystem instance |
||
| 828 | */ |
||
| 829 | protected function getFilesystemService() |
||
| 833 | |||
| 834 | /** |
||
| 835 | * Gets the 'form.factory' service. |
||
| 836 | * |
||
| 837 | * This service is shared. |
||
| 838 | * This method always returns the same instance of the service. |
||
| 839 | * |
||
| 840 | * @return \Symfony\Component\Form\FormFactory A Symfony\Component\Form\FormFactory instance |
||
| 841 | */ |
||
| 842 | protected function getForm_FactoryService() |
||
| 846 | |||
| 847 | /** |
||
| 848 | * Gets the 'form.registry' service. |
||
| 849 | * |
||
| 850 | * This service is shared. |
||
| 851 | * This method always returns the same instance of the service. |
||
| 852 | * |
||
| 853 | * @return \Symfony\Component\Form\FormRegistry A Symfony\Component\Form\FormRegistry instance |
||
| 854 | */ |
||
| 855 | protected function getForm_RegistryService() |
||
| 859 | |||
| 860 | /** |
||
| 861 | * Gets the 'form.resolved_type_factory' service. |
||
| 862 | * |
||
| 863 | * This service is shared. |
||
| 864 | * This method always returns the same instance of the service. |
||
| 865 | * |
||
| 866 | * @return \Symfony\Component\Form\ResolvedFormTypeFactory A Symfony\Component\Form\ResolvedFormTypeFactory instance |
||
| 867 | */ |
||
| 868 | protected function getForm_ResolvedTypeFactoryService() |
||
| 872 | |||
| 873 | /** |
||
| 874 | * Gets the 'form.type.birthday' service. |
||
| 875 | * |
||
| 876 | * This service is shared. |
||
| 877 | * This method always returns the same instance of the service. |
||
| 878 | * |
||
| 879 | * @return \Symfony\Component\Form\Extension\Core\Type\BirthdayType A Symfony\Component\Form\Extension\Core\Type\BirthdayType instance |
||
| 880 | * |
||
| 881 | * @deprecated The "form.type.birthday" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 882 | */ |
||
| 883 | protected function getForm_Type_BirthdayService() |
||
| 889 | |||
| 890 | /** |
||
| 891 | * Gets the 'form.type.button' service. |
||
| 892 | * |
||
| 893 | * This service is shared. |
||
| 894 | * This method always returns the same instance of the service. |
||
| 895 | * |
||
| 896 | * @return \Symfony\Component\Form\Extension\Core\Type\ButtonType A Symfony\Component\Form\Extension\Core\Type\ButtonType instance |
||
| 897 | * |
||
| 898 | * @deprecated The "form.type.button" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 899 | */ |
||
| 900 | protected function getForm_Type_ButtonService() |
||
| 906 | |||
| 907 | /** |
||
| 908 | * Gets the 'form.type.checkbox' service. |
||
| 909 | * |
||
| 910 | * This service is shared. |
||
| 911 | * This method always returns the same instance of the service. |
||
| 912 | * |
||
| 913 | * @return \Symfony\Component\Form\Extension\Core\Type\CheckboxType A Symfony\Component\Form\Extension\Core\Type\CheckboxType instance |
||
| 914 | * |
||
| 915 | * @deprecated The "form.type.checkbox" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 916 | */ |
||
| 917 | protected function getForm_Type_CheckboxService() |
||
| 923 | |||
| 924 | /** |
||
| 925 | * Gets the 'form.type.choice' service. |
||
| 926 | * |
||
| 927 | * This service is shared. |
||
| 928 | * This method always returns the same instance of the service. |
||
| 929 | * |
||
| 930 | * @return \Symfony\Component\Form\Extension\Core\Type\ChoiceType A Symfony\Component\Form\Extension\Core\Type\ChoiceType instance |
||
| 931 | */ |
||
| 932 | protected function getForm_Type_ChoiceService() |
||
| 936 | |||
| 937 | /** |
||
| 938 | * Gets the 'form.type.collection' service. |
||
| 939 | * |
||
| 940 | * This service is shared. |
||
| 941 | * This method always returns the same instance of the service. |
||
| 942 | * |
||
| 943 | * @return \Symfony\Component\Form\Extension\Core\Type\CollectionType A Symfony\Component\Form\Extension\Core\Type\CollectionType instance |
||
| 944 | * |
||
| 945 | * @deprecated The "form.type.collection" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 946 | */ |
||
| 947 | protected function getForm_Type_CollectionService() |
||
| 953 | |||
| 954 | /** |
||
| 955 | * Gets the 'form.type.country' service. |
||
| 956 | * |
||
| 957 | * This service is shared. |
||
| 958 | * This method always returns the same instance of the service. |
||
| 959 | * |
||
| 960 | * @return \Symfony\Component\Form\Extension\Core\Type\CountryType A Symfony\Component\Form\Extension\Core\Type\CountryType instance |
||
| 961 | * |
||
| 962 | * @deprecated The "form.type.country" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 963 | */ |
||
| 964 | protected function getForm_Type_CountryService() |
||
| 970 | |||
| 971 | /** |
||
| 972 | * Gets the 'form.type.currency' service. |
||
| 973 | * |
||
| 974 | * This service is shared. |
||
| 975 | * This method always returns the same instance of the service. |
||
| 976 | * |
||
| 977 | * @return \Symfony\Component\Form\Extension\Core\Type\CurrencyType A Symfony\Component\Form\Extension\Core\Type\CurrencyType instance |
||
| 978 | * |
||
| 979 | * @deprecated The "form.type.currency" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 980 | */ |
||
| 981 | protected function getForm_Type_CurrencyService() |
||
| 987 | |||
| 988 | /** |
||
| 989 | * Gets the 'form.type.date' service. |
||
| 990 | * |
||
| 991 | * This service is shared. |
||
| 992 | * This method always returns the same instance of the service. |
||
| 993 | * |
||
| 994 | * @return \Symfony\Component\Form\Extension\Core\Type\DateType A Symfony\Component\Form\Extension\Core\Type\DateType instance |
||
| 995 | * |
||
| 996 | * @deprecated The "form.type.date" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 997 | */ |
||
| 998 | protected function getForm_Type_DateService() |
||
| 1004 | |||
| 1005 | /** |
||
| 1006 | * Gets the 'form.type.datetime' service. |
||
| 1007 | * |
||
| 1008 | * This service is shared. |
||
| 1009 | * This method always returns the same instance of the service. |
||
| 1010 | * |
||
| 1011 | * @return \Symfony\Component\Form\Extension\Core\Type\DateTimeType A Symfony\Component\Form\Extension\Core\Type\DateTimeType instance |
||
| 1012 | * |
||
| 1013 | * @deprecated The "form.type.datetime" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1014 | */ |
||
| 1015 | protected function getForm_Type_DatetimeService() |
||
| 1021 | |||
| 1022 | /** |
||
| 1023 | * Gets the 'form.type.email' service. |
||
| 1024 | * |
||
| 1025 | * This service is shared. |
||
| 1026 | * This method always returns the same instance of the service. |
||
| 1027 | * |
||
| 1028 | * @return \Symfony\Component\Form\Extension\Core\Type\EmailType A Symfony\Component\Form\Extension\Core\Type\EmailType instance |
||
| 1029 | * |
||
| 1030 | * @deprecated The "form.type.email" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1031 | */ |
||
| 1032 | protected function getForm_Type_EmailService() |
||
| 1038 | |||
| 1039 | /** |
||
| 1040 | * Gets the 'form.type.entity' service. |
||
| 1041 | * |
||
| 1042 | * This service is shared. |
||
| 1043 | * This method always returns the same instance of the service. |
||
| 1044 | * |
||
| 1045 | * @return \Symfony\Bridge\Doctrine\Form\Type\EntityType A Symfony\Bridge\Doctrine\Form\Type\EntityType instance |
||
| 1046 | */ |
||
| 1047 | protected function getForm_Type_EntityService() |
||
| 1051 | |||
| 1052 | /** |
||
| 1053 | * Gets the 'form.type.file' service. |
||
| 1054 | * |
||
| 1055 | * This service is shared. |
||
| 1056 | * This method always returns the same instance of the service. |
||
| 1057 | * |
||
| 1058 | * @return \Symfony\Component\Form\Extension\Core\Type\FileType A Symfony\Component\Form\Extension\Core\Type\FileType instance |
||
| 1059 | * |
||
| 1060 | * @deprecated The "form.type.file" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1061 | */ |
||
| 1062 | protected function getForm_Type_FileService() |
||
| 1068 | |||
| 1069 | /** |
||
| 1070 | * Gets the 'form.type.form' service. |
||
| 1071 | * |
||
| 1072 | * This service is shared. |
||
| 1073 | * This method always returns the same instance of the service. |
||
| 1074 | * |
||
| 1075 | * @return \Symfony\Component\Form\Extension\Core\Type\FormType A Symfony\Component\Form\Extension\Core\Type\FormType instance |
||
| 1076 | */ |
||
| 1077 | protected function getForm_Type_FormService() |
||
| 1081 | |||
| 1082 | /** |
||
| 1083 | * Gets the 'form.type.hidden' service. |
||
| 1084 | * |
||
| 1085 | * This service is shared. |
||
| 1086 | * This method always returns the same instance of the service. |
||
| 1087 | * |
||
| 1088 | * @return \Symfony\Component\Form\Extension\Core\Type\HiddenType A Symfony\Component\Form\Extension\Core\Type\HiddenType instance |
||
| 1089 | * |
||
| 1090 | * @deprecated The "form.type.hidden" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1091 | */ |
||
| 1092 | protected function getForm_Type_HiddenService() |
||
| 1098 | |||
| 1099 | /** |
||
| 1100 | * Gets the 'form.type.integer' service. |
||
| 1101 | * |
||
| 1102 | * This service is shared. |
||
| 1103 | * This method always returns the same instance of the service. |
||
| 1104 | * |
||
| 1105 | * @return \Symfony\Component\Form\Extension\Core\Type\IntegerType A Symfony\Component\Form\Extension\Core\Type\IntegerType instance |
||
| 1106 | * |
||
| 1107 | * @deprecated The "form.type.integer" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1108 | */ |
||
| 1109 | protected function getForm_Type_IntegerService() |
||
| 1115 | |||
| 1116 | /** |
||
| 1117 | * Gets the 'form.type.language' service. |
||
| 1118 | * |
||
| 1119 | * This service is shared. |
||
| 1120 | * This method always returns the same instance of the service. |
||
| 1121 | * |
||
| 1122 | * @return \Symfony\Component\Form\Extension\Core\Type\LanguageType A Symfony\Component\Form\Extension\Core\Type\LanguageType instance |
||
| 1123 | * |
||
| 1124 | * @deprecated The "form.type.language" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1125 | */ |
||
| 1126 | protected function getForm_Type_LanguageService() |
||
| 1132 | |||
| 1133 | /** |
||
| 1134 | * Gets the 'form.type.locale' service. |
||
| 1135 | * |
||
| 1136 | * This service is shared. |
||
| 1137 | * This method always returns the same instance of the service. |
||
| 1138 | * |
||
| 1139 | * @return \Symfony\Component\Form\Extension\Core\Type\LocaleType A Symfony\Component\Form\Extension\Core\Type\LocaleType instance |
||
| 1140 | * |
||
| 1141 | * @deprecated The "form.type.locale" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1142 | */ |
||
| 1143 | protected function getForm_Type_LocaleService() |
||
| 1149 | |||
| 1150 | /** |
||
| 1151 | * Gets the 'form.type.money' service. |
||
| 1152 | * |
||
| 1153 | * This service is shared. |
||
| 1154 | * This method always returns the same instance of the service. |
||
| 1155 | * |
||
| 1156 | * @return \Symfony\Component\Form\Extension\Core\Type\MoneyType A Symfony\Component\Form\Extension\Core\Type\MoneyType instance |
||
| 1157 | * |
||
| 1158 | * @deprecated The "form.type.money" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1159 | */ |
||
| 1160 | protected function getForm_Type_MoneyService() |
||
| 1166 | |||
| 1167 | /** |
||
| 1168 | * Gets the 'form.type.number' service. |
||
| 1169 | * |
||
| 1170 | * This service is shared. |
||
| 1171 | * This method always returns the same instance of the service. |
||
| 1172 | * |
||
| 1173 | * @return \Symfony\Component\Form\Extension\Core\Type\NumberType A Symfony\Component\Form\Extension\Core\Type\NumberType instance |
||
| 1174 | * |
||
| 1175 | * @deprecated The "form.type.number" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1176 | */ |
||
| 1177 | protected function getForm_Type_NumberService() |
||
| 1183 | |||
| 1184 | /** |
||
| 1185 | * Gets the 'form.type.password' service. |
||
| 1186 | * |
||
| 1187 | * This service is shared. |
||
| 1188 | * This method always returns the same instance of the service. |
||
| 1189 | * |
||
| 1190 | * @return \Symfony\Component\Form\Extension\Core\Type\PasswordType A Symfony\Component\Form\Extension\Core\Type\PasswordType instance |
||
| 1191 | * |
||
| 1192 | * @deprecated The "form.type.password" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1193 | */ |
||
| 1194 | protected function getForm_Type_PasswordService() |
||
| 1200 | |||
| 1201 | /** |
||
| 1202 | * Gets the 'form.type.percent' service. |
||
| 1203 | * |
||
| 1204 | * This service is shared. |
||
| 1205 | * This method always returns the same instance of the service. |
||
| 1206 | * |
||
| 1207 | * @return \Symfony\Component\Form\Extension\Core\Type\PercentType A Symfony\Component\Form\Extension\Core\Type\PercentType instance |
||
| 1208 | * |
||
| 1209 | * @deprecated The "form.type.percent" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1210 | */ |
||
| 1211 | protected function getForm_Type_PercentService() |
||
| 1217 | |||
| 1218 | /** |
||
| 1219 | * Gets the 'form.type.radio' service. |
||
| 1220 | * |
||
| 1221 | * This service is shared. |
||
| 1222 | * This method always returns the same instance of the service. |
||
| 1223 | * |
||
| 1224 | * @return \Symfony\Component\Form\Extension\Core\Type\RadioType A Symfony\Component\Form\Extension\Core\Type\RadioType instance |
||
| 1225 | * |
||
| 1226 | * @deprecated The "form.type.radio" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1227 | */ |
||
| 1228 | protected function getForm_Type_RadioService() |
||
| 1234 | |||
| 1235 | /** |
||
| 1236 | * Gets the 'form.type.range' service. |
||
| 1237 | * |
||
| 1238 | * This service is shared. |
||
| 1239 | * This method always returns the same instance of the service. |
||
| 1240 | * |
||
| 1241 | * @return \Symfony\Component\Form\Extension\Core\Type\RangeType A Symfony\Component\Form\Extension\Core\Type\RangeType instance |
||
| 1242 | * |
||
| 1243 | * @deprecated The "form.type.range" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1244 | */ |
||
| 1245 | protected function getForm_Type_RangeService() |
||
| 1251 | |||
| 1252 | /** |
||
| 1253 | * Gets the 'form.type.repeated' service. |
||
| 1254 | * |
||
| 1255 | * This service is shared. |
||
| 1256 | * This method always returns the same instance of the service. |
||
| 1257 | * |
||
| 1258 | * @return \Symfony\Component\Form\Extension\Core\Type\RepeatedType A Symfony\Component\Form\Extension\Core\Type\RepeatedType instance |
||
| 1259 | * |
||
| 1260 | * @deprecated The "form.type.repeated" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1261 | */ |
||
| 1262 | protected function getForm_Type_RepeatedService() |
||
| 1268 | |||
| 1269 | /** |
||
| 1270 | * Gets the 'form.type.reset' service. |
||
| 1271 | * |
||
| 1272 | * This service is shared. |
||
| 1273 | * This method always returns the same instance of the service. |
||
| 1274 | * |
||
| 1275 | * @return \Symfony\Component\Form\Extension\Core\Type\ResetType A Symfony\Component\Form\Extension\Core\Type\ResetType instance |
||
| 1276 | * |
||
| 1277 | * @deprecated The "form.type.reset" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1278 | */ |
||
| 1279 | protected function getForm_Type_ResetService() |
||
| 1285 | |||
| 1286 | /** |
||
| 1287 | * Gets the 'form.type.search' service. |
||
| 1288 | * |
||
| 1289 | * This service is shared. |
||
| 1290 | * This method always returns the same instance of the service. |
||
| 1291 | * |
||
| 1292 | * @return \Symfony\Component\Form\Extension\Core\Type\SearchType A Symfony\Component\Form\Extension\Core\Type\SearchType instance |
||
| 1293 | * |
||
| 1294 | * @deprecated The "form.type.search" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1295 | */ |
||
| 1296 | protected function getForm_Type_SearchService() |
||
| 1302 | |||
| 1303 | /** |
||
| 1304 | * Gets the 'form.type.submit' service. |
||
| 1305 | * |
||
| 1306 | * This service is shared. |
||
| 1307 | * This method always returns the same instance of the service. |
||
| 1308 | * |
||
| 1309 | * @return \Symfony\Component\Form\Extension\Core\Type\SubmitType A Symfony\Component\Form\Extension\Core\Type\SubmitType instance |
||
| 1310 | * |
||
| 1311 | * @deprecated The "form.type.submit" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1312 | */ |
||
| 1313 | protected function getForm_Type_SubmitService() |
||
| 1319 | |||
| 1320 | /** |
||
| 1321 | * Gets the 'form.type.text' service. |
||
| 1322 | * |
||
| 1323 | * This service is shared. |
||
| 1324 | * This method always returns the same instance of the service. |
||
| 1325 | * |
||
| 1326 | * @return \Symfony\Component\Form\Extension\Core\Type\TextType A Symfony\Component\Form\Extension\Core\Type\TextType instance |
||
| 1327 | * |
||
| 1328 | * @deprecated The "form.type.text" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1329 | */ |
||
| 1330 | protected function getForm_Type_TextService() |
||
| 1336 | |||
| 1337 | /** |
||
| 1338 | * Gets the 'form.type.textarea' service. |
||
| 1339 | * |
||
| 1340 | * This service is shared. |
||
| 1341 | * This method always returns the same instance of the service. |
||
| 1342 | * |
||
| 1343 | * @return \Symfony\Component\Form\Extension\Core\Type\TextareaType A Symfony\Component\Form\Extension\Core\Type\TextareaType instance |
||
| 1344 | * |
||
| 1345 | * @deprecated The "form.type.textarea" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1346 | */ |
||
| 1347 | protected function getForm_Type_TextareaService() |
||
| 1353 | |||
| 1354 | /** |
||
| 1355 | * Gets the 'form.type.time' service. |
||
| 1356 | * |
||
| 1357 | * This service is shared. |
||
| 1358 | * This method always returns the same instance of the service. |
||
| 1359 | * |
||
| 1360 | * @return \Symfony\Component\Form\Extension\Core\Type\TimeType A Symfony\Component\Form\Extension\Core\Type\TimeType instance |
||
| 1361 | * |
||
| 1362 | * @deprecated The "form.type.time" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1363 | */ |
||
| 1364 | protected function getForm_Type_TimeService() |
||
| 1370 | |||
| 1371 | /** |
||
| 1372 | * Gets the 'form.type.timezone' service. |
||
| 1373 | * |
||
| 1374 | * This service is shared. |
||
| 1375 | * This method always returns the same instance of the service. |
||
| 1376 | * |
||
| 1377 | * @return \Symfony\Component\Form\Extension\Core\Type\TimezoneType A Symfony\Component\Form\Extension\Core\Type\TimezoneType instance |
||
| 1378 | * |
||
| 1379 | * @deprecated The "form.type.timezone" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1380 | */ |
||
| 1381 | protected function getForm_Type_TimezoneService() |
||
| 1387 | |||
| 1388 | /** |
||
| 1389 | * Gets the 'form.type.url' service. |
||
| 1390 | * |
||
| 1391 | * This service is shared. |
||
| 1392 | * This method always returns the same instance of the service. |
||
| 1393 | * |
||
| 1394 | * @return \Symfony\Component\Form\Extension\Core\Type\UrlType A Symfony\Component\Form\Extension\Core\Type\UrlType instance |
||
| 1395 | * |
||
| 1396 | * @deprecated The "form.type.url" service is deprecated since Symfony 3.1 and will be removed in 4.0. |
||
| 1397 | */ |
||
| 1398 | protected function getForm_Type_UrlService() |
||
| 1404 | |||
| 1405 | /** |
||
| 1406 | * Gets the 'form.type_extension.form.http_foundation' service. |
||
| 1407 | * |
||
| 1408 | * This service is shared. |
||
| 1409 | * This method always returns the same instance of the service. |
||
| 1410 | * |
||
| 1411 | * @return \Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension A Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension instance |
||
| 1412 | */ |
||
| 1413 | protected function getForm_TypeExtension_Form_HttpFoundationService() |
||
| 1417 | |||
| 1418 | /** |
||
| 1419 | * Gets the 'form.type_extension.form.validator' service. |
||
| 1420 | * |
||
| 1421 | * This service is shared. |
||
| 1422 | * This method always returns the same instance of the service. |
||
| 1423 | * |
||
| 1424 | * @return \Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension instance |
||
| 1425 | */ |
||
| 1426 | protected function getForm_TypeExtension_Form_ValidatorService() |
||
| 1430 | |||
| 1431 | /** |
||
| 1432 | * Gets the 'form.type_extension.repeated.validator' service. |
||
| 1433 | * |
||
| 1434 | * This service is shared. |
||
| 1435 | * This method always returns the same instance of the service. |
||
| 1436 | * |
||
| 1437 | * @return \Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension instance |
||
| 1438 | */ |
||
| 1439 | protected function getForm_TypeExtension_Repeated_ValidatorService() |
||
| 1443 | |||
| 1444 | /** |
||
| 1445 | * Gets the 'form.type_extension.submit.validator' service. |
||
| 1446 | * |
||
| 1447 | * This service is shared. |
||
| 1448 | * This method always returns the same instance of the service. |
||
| 1449 | * |
||
| 1450 | * @return \Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension instance |
||
| 1451 | */ |
||
| 1452 | protected function getForm_TypeExtension_Submit_ValidatorService() |
||
| 1456 | |||
| 1457 | /** |
||
| 1458 | * Gets the 'form.type_extension.upload.validator' service. |
||
| 1459 | * |
||
| 1460 | * This service is shared. |
||
| 1461 | * This method always returns the same instance of the service. |
||
| 1462 | * |
||
| 1463 | * @return \Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension instance |
||
| 1464 | */ |
||
| 1465 | protected function getForm_TypeExtension_Upload_ValidatorService() |
||
| 1469 | |||
| 1470 | /** |
||
| 1471 | * Gets the 'form.type_guesser.doctrine' service. |
||
| 1472 | * |
||
| 1473 | * This service is shared. |
||
| 1474 | * This method always returns the same instance of the service. |
||
| 1475 | * |
||
| 1476 | * @return \Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser A Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser instance |
||
| 1477 | */ |
||
| 1478 | protected function getForm_TypeGuesser_DoctrineService() |
||
| 1482 | |||
| 1483 | /** |
||
| 1484 | * Gets the 'form.type_guesser.validator' service. |
||
| 1485 | * |
||
| 1486 | * This service is shared. |
||
| 1487 | * This method always returns the same instance of the service. |
||
| 1488 | * |
||
| 1489 | * @return \Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser A Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser instance |
||
| 1490 | */ |
||
| 1491 | protected function getForm_TypeGuesser_ValidatorService() |
||
| 1495 | |||
| 1496 | /** |
||
| 1497 | * Gets the 'fragment.handler' service. |
||
| 1498 | * |
||
| 1499 | * This service is shared. |
||
| 1500 | * This method always returns the same instance of the service. |
||
| 1501 | * |
||
| 1502 | * @return \Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler A Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler instance |
||
| 1503 | */ |
||
| 1504 | View Code Duplication | protected function getFragment_HandlerService() |
|
| 1514 | |||
| 1515 | /** |
||
| 1516 | * Gets the 'fragment.renderer.esi' service. |
||
| 1517 | * |
||
| 1518 | * This service is shared. |
||
| 1519 | * This method always returns the same instance of the service. |
||
| 1520 | * |
||
| 1521 | * @return \Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer A Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer instance |
||
| 1522 | */ |
||
| 1523 | View Code Duplication | protected function getFragment_Renderer_EsiService() |
|
| 1531 | |||
| 1532 | /** |
||
| 1533 | * Gets the 'fragment.renderer.hinclude' service. |
||
| 1534 | * |
||
| 1535 | * This service is shared. |
||
| 1536 | * This method always returns the same instance of the service. |
||
| 1537 | * |
||
| 1538 | * @return \Symfony\Component\HttpKernel\Fragment\HIncludeFragmentRenderer A Symfony\Component\HttpKernel\Fragment\HIncludeFragmentRenderer instance |
||
| 1539 | */ |
||
| 1540 | View Code Duplication | protected function getFragment_Renderer_HincludeService() |
|
| 1548 | |||
| 1549 | /** |
||
| 1550 | * Gets the 'fragment.renderer.inline' service. |
||
| 1551 | * |
||
| 1552 | * This service is shared. |
||
| 1553 | * This method always returns the same instance of the service. |
||
| 1554 | * |
||
| 1555 | * @return \Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer A Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer instance |
||
| 1556 | */ |
||
| 1557 | View Code Duplication | protected function getFragment_Renderer_InlineService() |
|
| 1565 | |||
| 1566 | /** |
||
| 1567 | * Gets the 'fragment.renderer.ssi' service. |
||
| 1568 | * |
||
| 1569 | * This service is shared. |
||
| 1570 | * This method always returns the same instance of the service. |
||
| 1571 | * |
||
| 1572 | * @return \Symfony\Component\HttpKernel\Fragment\SsiFragmentRenderer A Symfony\Component\HttpKernel\Fragment\SsiFragmentRenderer instance |
||
| 1573 | */ |
||
| 1574 | View Code Duplication | protected function getFragment_Renderer_SsiService() |
|
| 1582 | |||
| 1583 | /** |
||
| 1584 | * Gets the 'hautelook_alice.alice.fixtures.loader' service. |
||
| 1585 | * |
||
| 1586 | * This service is shared. |
||
| 1587 | * This method always returns the same instance of the service. |
||
| 1588 | * |
||
| 1589 | * @return \Hautelook\AliceBundle\Alice\DataFixtures\Fixtures\SimpleLoader A Hautelook\AliceBundle\Alice\DataFixtures\Fixtures\SimpleLoader instance |
||
| 1590 | */ |
||
| 1591 | protected function getHautelookAlice_Alice_Fixtures_LoaderService() |
||
| 1595 | |||
| 1596 | /** |
||
| 1597 | * Gets the 'hautelook_alice.alice.processor_chain' service. |
||
| 1598 | * |
||
| 1599 | * This service is shared. |
||
| 1600 | * This method always returns the same instance of the service. |
||
| 1601 | * |
||
| 1602 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1603 | * |
||
| 1604 | * @return \Hautelook\AliceBundle\Alice\ProcessorChain A Hautelook\AliceBundle\Alice\ProcessorChain instance |
||
| 1605 | */ |
||
| 1606 | protected function getHautelookAlice_Alice_ProcessorChainService($lazyLoad = true) |
||
| 1610 | |||
| 1611 | /** |
||
| 1612 | * Gets the 'hautelook_alice.bundle_resolver' service. |
||
| 1613 | * |
||
| 1614 | * This service is shared. |
||
| 1615 | * This method always returns the same instance of the service. |
||
| 1616 | * |
||
| 1617 | * @return \Hautelook\AliceBundle\Resolver\SimpleBundleResolver A Hautelook\AliceBundle\Resolver\SimpleBundleResolver instance |
||
| 1618 | */ |
||
| 1619 | protected function getHautelookAlice_BundleResolverService() |
||
| 1623 | |||
| 1624 | /** |
||
| 1625 | * Gets the 'hautelook_alice.doctrine.command.deprecated_load_command' service. |
||
| 1626 | * |
||
| 1627 | * This service is shared. |
||
| 1628 | * This method always returns the same instance of the service. |
||
| 1629 | * |
||
| 1630 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1631 | * |
||
| 1632 | * @return \Hautelook\AliceBundle\Doctrine\Command\DoctrineOrmLoadDataFixturesCommand A Hautelook\AliceBundle\Doctrine\Command\DoctrineOrmLoadDataFixturesCommand instance |
||
| 1633 | */ |
||
| 1634 | protected function getHautelookAlice_Doctrine_Command_DeprecatedLoadCommandService($lazyLoad = true) |
||
| 1638 | |||
| 1639 | /** |
||
| 1640 | * Gets the 'hautelook_alice.doctrine.command.load_command' service. |
||
| 1641 | * |
||
| 1642 | * This service is shared. |
||
| 1643 | * This method always returns the same instance of the service. |
||
| 1644 | * |
||
| 1645 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1646 | * |
||
| 1647 | * @return \Hautelook\AliceBundle\Doctrine\Command\DoctrineOrmLoadDataFixturesCommand A Hautelook\AliceBundle\Doctrine\Command\DoctrineOrmLoadDataFixturesCommand instance |
||
| 1648 | */ |
||
| 1649 | protected function getHautelookAlice_Doctrine_Command_LoadCommandService($lazyLoad = true) |
||
| 1653 | |||
| 1654 | /** |
||
| 1655 | * Gets the 'hautelook_alice.doctrine.command_factory' service. |
||
| 1656 | * |
||
| 1657 | * This service is shared. |
||
| 1658 | * This method always returns the same instance of the service. |
||
| 1659 | * |
||
| 1660 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1661 | * |
||
| 1662 | * @return \Hautelook\AliceBundle\Doctrine\Command\CommandFactory A Hautelook\AliceBundle\Doctrine\Command\CommandFactory instance |
||
| 1663 | */ |
||
| 1664 | protected function getHautelookAlice_Doctrine_CommandFactoryService($lazyLoad = true) |
||
| 1668 | |||
| 1669 | /** |
||
| 1670 | * Gets the 'hautelook_alice.doctrine.executor.fixtures_executor' service. |
||
| 1671 | * |
||
| 1672 | * This service is shared. |
||
| 1673 | * This method always returns the same instance of the service. |
||
| 1674 | * |
||
| 1675 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1676 | * |
||
| 1677 | * @return \Hautelook\AliceBundle\Doctrine\DataFixtures\Executor\FixturesExecutor A Hautelook\AliceBundle\Doctrine\DataFixtures\Executor\FixturesExecutor instance |
||
| 1678 | */ |
||
| 1679 | protected function getHautelookAlice_Doctrine_Executor_FixturesExecutorService($lazyLoad = true) |
||
| 1683 | |||
| 1684 | /** |
||
| 1685 | * Gets the 'hautelook_alice.doctrine.orm.fixtures_finder' service. |
||
| 1686 | * |
||
| 1687 | * This service is shared. |
||
| 1688 | * This method always returns the same instance of the service. |
||
| 1689 | * |
||
| 1690 | * @return \Hautelook\AliceBundle\Doctrine\Finder\FixturesFinder A Hautelook\AliceBundle\Doctrine\Finder\FixturesFinder instance |
||
| 1691 | */ |
||
| 1692 | protected function getHautelookAlice_Doctrine_Orm_FixturesFinderService() |
||
| 1700 | |||
| 1701 | /** |
||
| 1702 | * Gets the 'hautelook_alice.doctrine.orm.loader_generator' service. |
||
| 1703 | * |
||
| 1704 | * This service is shared. |
||
| 1705 | * This method always returns the same instance of the service. |
||
| 1706 | * |
||
| 1707 | * @return \Hautelook\AliceBundle\Doctrine\Generator\LoaderGenerator A Hautelook\AliceBundle\Doctrine\Generator\LoaderGenerator instance |
||
| 1708 | */ |
||
| 1709 | protected function getHautelookAlice_Doctrine_Orm_LoaderGeneratorService() |
||
| 1713 | |||
| 1714 | /** |
||
| 1715 | * Gets the 'hautelook_alice.faker' service. |
||
| 1716 | * |
||
| 1717 | * This service is shared. |
||
| 1718 | * This method always returns the same instance of the service. |
||
| 1719 | * |
||
| 1720 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1721 | * |
||
| 1722 | * @return \Faker\Generator A Faker\Generator instance |
||
| 1723 | */ |
||
| 1724 | View Code Duplication | protected function getHautelookAlice_FakerService($lazyLoad = true) |
|
| 1733 | |||
| 1734 | /** |
||
| 1735 | * Gets the 'hautelook_alice.faker.provider_chain' service. |
||
| 1736 | * |
||
| 1737 | * This service is shared. |
||
| 1738 | * This method always returns the same instance of the service. |
||
| 1739 | * |
||
| 1740 | * @param bool $lazyLoad whether to try lazy-loading the service with a proxy |
||
| 1741 | * |
||
| 1742 | * @return \Hautelook\AliceBundle\Faker\Provider\ProviderChain A Hautelook\AliceBundle\Faker\Provider\ProviderChain instance |
||
| 1743 | */ |
||
| 1744 | protected function getHautelookAlice_Faker_ProviderChainService($lazyLoad = true) |
||
| 1748 | |||
| 1749 | /** |
||
| 1750 | * Gets the 'hautelook_alice.fixtures.loader' service. |
||
| 1751 | * |
||
| 1752 | * This service is shared. |
||
| 1753 | * This method always returns the same instance of the service. |
||
| 1754 | * |
||
| 1755 | * @return \Hautelook\AliceBundle\Alice\DataFixtures\Loader\SimpleLoader A Hautelook\AliceBundle\Alice\DataFixtures\SimpleLoader\SimpleLoader instance |
||
| 1756 | */ |
||
| 1757 | protected function getHautelookAlice_Fixtures_LoaderService() |
||
| 1761 | |||
| 1762 | /** |
||
| 1763 | * Gets the 'http_kernel' service. |
||
| 1764 | * |
||
| 1765 | * This service is shared. |
||
| 1766 | * This method always returns the same instance of the service. |
||
| 1767 | * |
||
| 1768 | * @return \Symfony\Component\HttpKernel\HttpKernel A Symfony\Component\HttpKernel\HttpKernel instance |
||
| 1769 | */ |
||
| 1770 | protected function getHttpKernelService() |
||
| 1774 | |||
| 1775 | /** |
||
| 1776 | * Gets the 'kernel' service. |
||
| 1777 | * |
||
| 1778 | * This service is shared. |
||
| 1779 | * This method always returns the same instance of the service. |
||
| 1780 | * |
||
| 1781 | * @throws RuntimeException always since this service is expected to be injected dynamically |
||
| 1782 | */ |
||
| 1783 | protected function getKernelService() |
||
| 1787 | |||
| 1788 | /** |
||
| 1789 | * Gets the 'kernel.class_cache.cache_warmer' service. |
||
| 1790 | * |
||
| 1791 | * This service is shared. |
||
| 1792 | * This method always returns the same instance of the service. |
||
| 1793 | * |
||
| 1794 | * @return \Symfony\Bundle\FrameworkBundle\CacheWarmer\ClassCacheCacheWarmer A Symfony\Bundle\FrameworkBundle\CacheWarmer\ClassCacheCacheWarmer instance |
||
| 1795 | */ |
||
| 1796 | protected function getKernel_ClassCache_CacheWarmerService() |
||
| 1800 | |||
| 1801 | /** |
||
| 1802 | * Gets the 'locale_listener' service. |
||
| 1803 | * |
||
| 1804 | * This service is shared. |
||
| 1805 | * This method always returns the same instance of the service. |
||
| 1806 | * |
||
| 1807 | * @return \Symfony\Component\HttpKernel\EventListener\LocaleListener A Symfony\Component\HttpKernel\EventListener\LocaleListener instance |
||
| 1808 | */ |
||
| 1809 | protected function getLocaleListenerService() |
||
| 1813 | |||
| 1814 | /** |
||
| 1815 | * Gets the 'property_accessor' service. |
||
| 1816 | * |
||
| 1817 | * This service is shared. |
||
| 1818 | * This method always returns the same instance of the service. |
||
| 1819 | * |
||
| 1820 | * @return \Symfony\Component\PropertyAccess\PropertyAccessor A Symfony\Component\PropertyAccess\PropertyAccessor instance |
||
| 1821 | */ |
||
| 1822 | protected function getPropertyAccessorService() |
||
| 1826 | |||
| 1827 | /** |
||
| 1828 | * Gets the 'request_stack' service. |
||
| 1829 | * |
||
| 1830 | * This service is shared. |
||
| 1831 | * This method always returns the same instance of the service. |
||
| 1832 | * |
||
| 1833 | * @return \Symfony\Component\HttpFoundation\RequestStack A Symfony\Component\HttpFoundation\RequestStack instance |
||
| 1834 | */ |
||
| 1835 | protected function getRequestStackService() |
||
| 1839 | |||
| 1840 | /** |
||
| 1841 | * Gets the 'response_listener' service. |
||
| 1842 | * |
||
| 1843 | * This service is shared. |
||
| 1844 | * This method always returns the same instance of the service. |
||
| 1845 | * |
||
| 1846 | * @return \Symfony\Component\HttpKernel\EventListener\ResponseListener A Symfony\Component\HttpKernel\EventListener\ResponseListener instance |
||
| 1847 | */ |
||
| 1848 | protected function getResponseListenerService() |
||
| 1852 | |||
| 1853 | /** |
||
| 1854 | * Gets the 'router' service. |
||
| 1855 | * |
||
| 1856 | * This service is shared. |
||
| 1857 | * This method always returns the same instance of the service. |
||
| 1858 | * |
||
| 1859 | * @return \Symfony\Bundle\FrameworkBundle\Routing\Router A Symfony\Bundle\FrameworkBundle\Routing\Router instance |
||
| 1860 | */ |
||
| 1861 | View Code Duplication | protected function getRouterService() |
|
| 1869 | |||
| 1870 | /** |
||
| 1871 | * Gets the 'router_listener' service. |
||
| 1872 | * |
||
| 1873 | * This service is shared. |
||
| 1874 | * This method always returns the same instance of the service. |
||
| 1875 | * |
||
| 1876 | * @return \Symfony\Component\HttpKernel\EventListener\RouterListener A Symfony\Component\HttpKernel\EventListener\RouterListener instance |
||
| 1877 | */ |
||
| 1878 | protected function getRouterListenerService() |
||
| 1882 | |||
| 1883 | /** |
||
| 1884 | * Gets the 'routing.loader' service. |
||
| 1885 | * |
||
| 1886 | * This service is shared. |
||
| 1887 | * This method always returns the same instance of the service. |
||
| 1888 | * |
||
| 1889 | * @return \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader A Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader instance |
||
| 1890 | */ |
||
| 1891 | View Code Duplication | protected function getRouting_LoaderService() |
|
| 1904 | |||
| 1905 | /** |
||
| 1906 | * Gets the 'service_container' service. |
||
| 1907 | * |
||
| 1908 | * This service is shared. |
||
| 1909 | * This method always returns the same instance of the service. |
||
| 1910 | * |
||
| 1911 | * @throws RuntimeException always since this service is expected to be injected dynamically |
||
| 1912 | */ |
||
| 1913 | protected function getServiceContainerService() |
||
| 1917 | |||
| 1918 | /** |
||
| 1919 | * Gets the 'session' service. |
||
| 1920 | * |
||
| 1921 | * This service is shared. |
||
| 1922 | * This method always returns the same instance of the service. |
||
| 1923 | * |
||
| 1924 | * @return \Symfony\Component\HttpFoundation\Session\Session A Symfony\Component\HttpFoundation\Session\Session instance |
||
| 1925 | */ |
||
| 1926 | protected function getSessionService() |
||
| 1930 | |||
| 1931 | /** |
||
| 1932 | * Gets the 'session.handler' service. |
||
| 1933 | * |
||
| 1934 | * This service is shared. |
||
| 1935 | * This method always returns the same instance of the service. |
||
| 1936 | * |
||
| 1937 | * @return \Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler A Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler instance |
||
| 1938 | */ |
||
| 1939 | protected function getSession_HandlerService() |
||
| 1943 | |||
| 1944 | /** |
||
| 1945 | * Gets the 'session.save_listener' service. |
||
| 1946 | * |
||
| 1947 | * This service is shared. |
||
| 1948 | * This method always returns the same instance of the service. |
||
| 1949 | * |
||
| 1950 | * @return \Symfony\Component\HttpKernel\EventListener\SaveSessionListener A Symfony\Component\HttpKernel\EventListener\SaveSessionListener instance |
||
| 1951 | */ |
||
| 1952 | protected function getSession_SaveListenerService() |
||
| 1956 | |||
| 1957 | /** |
||
| 1958 | * Gets the 'session.storage.filesystem' service. |
||
| 1959 | * |
||
| 1960 | * This service is shared. |
||
| 1961 | * This method always returns the same instance of the service. |
||
| 1962 | * |
||
| 1963 | * @return \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage instance |
||
| 1964 | */ |
||
| 1965 | protected function getSession_Storage_FilesystemService() |
||
| 1969 | |||
| 1970 | /** |
||
| 1971 | * Gets the 'session.storage.native' service. |
||
| 1972 | * |
||
| 1973 | * This service is shared. |
||
| 1974 | * This method always returns the same instance of the service. |
||
| 1975 | * |
||
| 1976 | * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage instance |
||
| 1977 | */ |
||
| 1978 | protected function getSession_Storage_NativeService() |
||
| 1982 | |||
| 1983 | /** |
||
| 1984 | * Gets the 'session.storage.php_bridge' service. |
||
| 1985 | * |
||
| 1986 | * This service is shared. |
||
| 1987 | * This method always returns the same instance of the service. |
||
| 1988 | * |
||
| 1989 | * @return \Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage instance |
||
| 1990 | */ |
||
| 1991 | protected function getSession_Storage_PhpBridgeService() |
||
| 1995 | |||
| 1996 | /** |
||
| 1997 | * Gets the 'session_listener' service. |
||
| 1998 | * |
||
| 1999 | * This service is shared. |
||
| 2000 | * This method always returns the same instance of the service. |
||
| 2001 | * |
||
| 2002 | * @return \Symfony\Bundle\FrameworkBundle\EventListener\SessionListener A Symfony\Bundle\FrameworkBundle\EventListener\SessionListener instance |
||
| 2003 | */ |
||
| 2004 | protected function getSessionListenerService() |
||
| 2008 | |||
| 2009 | /** |
||
| 2010 | * Gets the 'streamed_response_listener' service. |
||
| 2011 | * |
||
| 2012 | * This service is shared. |
||
| 2013 | * This method always returns the same instance of the service. |
||
| 2014 | * |
||
| 2015 | * @return \Symfony\Component\HttpKernel\EventListener\StreamedResponseListener A Symfony\Component\HttpKernel\EventListener\StreamedResponseListener instance |
||
| 2016 | */ |
||
| 2017 | protected function getStreamedResponseListenerService() |
||
| 2021 | |||
| 2022 | /** |
||
| 2023 | * Gets the 'test.client' service. |
||
| 2024 | * |
||
| 2025 | * @return \Symfony\Bundle\FrameworkBundle\Client A Symfony\Bundle\FrameworkBundle\Client instance |
||
| 2026 | */ |
||
| 2027 | protected function getTest_ClientService() |
||
| 2031 | |||
| 2032 | /** |
||
| 2033 | * Gets the 'test.client.cookiejar' service. |
||
| 2034 | * |
||
| 2035 | * @return \Symfony\Component\BrowserKit\CookieJar A Symfony\Component\BrowserKit\CookieJar instance |
||
| 2036 | */ |
||
| 2037 | protected function getTest_Client_CookiejarService() |
||
| 2041 | |||
| 2042 | /** |
||
| 2043 | * Gets the 'test.client.history' service. |
||
| 2044 | * |
||
| 2045 | * @return \Symfony\Component\BrowserKit\History A Symfony\Component\BrowserKit\History instance |
||
| 2046 | */ |
||
| 2047 | protected function getTest_Client_HistoryService() |
||
| 2051 | |||
| 2052 | /** |
||
| 2053 | * Gets the 'test.session.listener' service. |
||
| 2054 | * |
||
| 2055 | * This service is shared. |
||
| 2056 | * This method always returns the same instance of the service. |
||
| 2057 | * |
||
| 2058 | * @return \Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener A Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener instance |
||
| 2059 | */ |
||
| 2060 | protected function getTest_Session_ListenerService() |
||
| 2064 | |||
| 2065 | /** |
||
| 2066 | * Gets the 'translation.dumper.csv' service. |
||
| 2067 | * |
||
| 2068 | * This service is shared. |
||
| 2069 | * This method always returns the same instance of the service. |
||
| 2070 | * |
||
| 2071 | * @return \Symfony\Component\Translation\Dumper\CsvFileDumper A Symfony\Component\Translation\Dumper\CsvFileDumper instance |
||
| 2072 | */ |
||
| 2073 | protected function getTranslation_Dumper_CsvService() |
||
| 2077 | |||
| 2078 | /** |
||
| 2079 | * Gets the 'translation.dumper.ini' service. |
||
| 2080 | * |
||
| 2081 | * This service is shared. |
||
| 2082 | * This method always returns the same instance of the service. |
||
| 2083 | * |
||
| 2084 | * @return \Symfony\Component\Translation\Dumper\IniFileDumper A Symfony\Component\Translation\Dumper\IniFileDumper instance |
||
| 2085 | */ |
||
| 2086 | protected function getTranslation_Dumper_IniService() |
||
| 2090 | |||
| 2091 | /** |
||
| 2092 | * Gets the 'translation.dumper.json' service. |
||
| 2093 | * |
||
| 2094 | * This service is shared. |
||
| 2095 | * This method always returns the same instance of the service. |
||
| 2096 | * |
||
| 2097 | * @return \Symfony\Component\Translation\Dumper\JsonFileDumper A Symfony\Component\Translation\Dumper\JsonFileDumper instance |
||
| 2098 | */ |
||
| 2099 | protected function getTranslation_Dumper_JsonService() |
||
| 2103 | |||
| 2104 | /** |
||
| 2105 | * Gets the 'translation.dumper.mo' service. |
||
| 2106 | * |
||
| 2107 | * This service is shared. |
||
| 2108 | * This method always returns the same instance of the service. |
||
| 2109 | * |
||
| 2110 | * @return \Symfony\Component\Translation\Dumper\MoFileDumper A Symfony\Component\Translation\Dumper\MoFileDumper instance |
||
| 2111 | */ |
||
| 2112 | protected function getTranslation_Dumper_MoService() |
||
| 2116 | |||
| 2117 | /** |
||
| 2118 | * Gets the 'translation.dumper.php' service. |
||
| 2119 | * |
||
| 2120 | * This service is shared. |
||
| 2121 | * This method always returns the same instance of the service. |
||
| 2122 | * |
||
| 2123 | * @return \Symfony\Component\Translation\Dumper\PhpFileDumper A Symfony\Component\Translation\Dumper\PhpFileDumper instance |
||
| 2124 | */ |
||
| 2125 | protected function getTranslation_Dumper_PhpService() |
||
| 2129 | |||
| 2130 | /** |
||
| 2131 | * Gets the 'translation.dumper.po' service. |
||
| 2132 | * |
||
| 2133 | * This service is shared. |
||
| 2134 | * This method always returns the same instance of the service. |
||
| 2135 | * |
||
| 2136 | * @return \Symfony\Component\Translation\Dumper\PoFileDumper A Symfony\Component\Translation\Dumper\PoFileDumper instance |
||
| 2137 | */ |
||
| 2138 | protected function getTranslation_Dumper_PoService() |
||
| 2142 | |||
| 2143 | /** |
||
| 2144 | * Gets the 'translation.dumper.qt' service. |
||
| 2145 | * |
||
| 2146 | * This service is shared. |
||
| 2147 | * This method always returns the same instance of the service. |
||
| 2148 | * |
||
| 2149 | * @return \Symfony\Component\Translation\Dumper\QtFileDumper A Symfony\Component\Translation\Dumper\QtFileDumper instance |
||
| 2150 | */ |
||
| 2151 | protected function getTranslation_Dumper_QtService() |
||
| 2155 | |||
| 2156 | /** |
||
| 2157 | * Gets the 'translation.dumper.res' service. |
||
| 2158 | * |
||
| 2159 | * This service is shared. |
||
| 2160 | * This method always returns the same instance of the service. |
||
| 2161 | * |
||
| 2162 | * @return \Symfony\Component\Translation\Dumper\IcuResFileDumper A Symfony\Component\Translation\Dumper\IcuResFileDumper instance |
||
| 2163 | */ |
||
| 2164 | protected function getTranslation_Dumper_ResService() |
||
| 2168 | |||
| 2169 | /** |
||
| 2170 | * Gets the 'translation.dumper.xliff' service. |
||
| 2171 | * |
||
| 2172 | * This service is shared. |
||
| 2173 | * This method always returns the same instance of the service. |
||
| 2174 | * |
||
| 2175 | * @return \Symfony\Component\Translation\Dumper\XliffFileDumper A Symfony\Component\Translation\Dumper\XliffFileDumper instance |
||
| 2176 | */ |
||
| 2177 | protected function getTranslation_Dumper_XliffService() |
||
| 2181 | |||
| 2182 | /** |
||
| 2183 | * Gets the 'translation.dumper.yml' service. |
||
| 2184 | * |
||
| 2185 | * This service is shared. |
||
| 2186 | * This method always returns the same instance of the service. |
||
| 2187 | * |
||
| 2188 | * @return \Symfony\Component\Translation\Dumper\YamlFileDumper A Symfony\Component\Translation\Dumper\YamlFileDumper instance |
||
| 2189 | */ |
||
| 2190 | protected function getTranslation_Dumper_YmlService() |
||
| 2194 | |||
| 2195 | /** |
||
| 2196 | * Gets the 'translation.extractor' service. |
||
| 2197 | * |
||
| 2198 | * This service is shared. |
||
| 2199 | * This method always returns the same instance of the service. |
||
| 2200 | * |
||
| 2201 | * @return \Symfony\Component\Translation\Extractor\ChainExtractor A Symfony\Component\Translation\Extractor\ChainExtractor instance |
||
| 2202 | */ |
||
| 2203 | View Code Duplication | protected function getTranslation_ExtractorService() |
|
| 2211 | |||
| 2212 | /** |
||
| 2213 | * Gets the 'translation.extractor.php' service. |
||
| 2214 | * |
||
| 2215 | * This service is shared. |
||
| 2216 | * This method always returns the same instance of the service. |
||
| 2217 | * |
||
| 2218 | * @return \Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor A Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor instance |
||
| 2219 | */ |
||
| 2220 | protected function getTranslation_Extractor_PhpService() |
||
| 2224 | |||
| 2225 | /** |
||
| 2226 | * Gets the 'translation.loader' service. |
||
| 2227 | * |
||
| 2228 | * This service is shared. |
||
| 2229 | * This method always returns the same instance of the service. |
||
| 2230 | * |
||
| 2231 | * @return \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader A Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader instance |
||
| 2232 | */ |
||
| 2233 | View Code Duplication | protected function getTranslation_LoaderService() |
|
| 2254 | |||
| 2255 | /** |
||
| 2256 | * Gets the 'translation.loader.csv' service. |
||
| 2257 | * |
||
| 2258 | * This service is shared. |
||
| 2259 | * This method always returns the same instance of the service. |
||
| 2260 | * |
||
| 2261 | * @return \Symfony\Component\Translation\Loader\CsvFileLoader A Symfony\Component\Translation\SimpleLoader\CsvFileLoader instance |
||
| 2262 | */ |
||
| 2263 | protected function getTranslation_Loader_CsvService() |
||
| 2267 | |||
| 2268 | /** |
||
| 2269 | * Gets the 'translation.loader.dat' service. |
||
| 2270 | * |
||
| 2271 | * This service is shared. |
||
| 2272 | * This method always returns the same instance of the service. |
||
| 2273 | * |
||
| 2274 | * @return \Symfony\Component\Translation\Loader\IcuDatFileLoader A Symfony\Component\Translation\SimpleLoader\IcuDatFileLoader instance |
||
| 2275 | */ |
||
| 2276 | protected function getTranslation_Loader_DatService() |
||
| 2280 | |||
| 2281 | /** |
||
| 2282 | * Gets the 'translation.loader.ini' service. |
||
| 2283 | * |
||
| 2284 | * This service is shared. |
||
| 2285 | * This method always returns the same instance of the service. |
||
| 2286 | * |
||
| 2287 | * @return \Symfony\Component\Translation\Loader\IniFileLoader A Symfony\Component\Translation\SimpleLoader\IniFileLoader instance |
||
| 2288 | */ |
||
| 2289 | protected function getTranslation_Loader_IniService() |
||
| 2293 | |||
| 2294 | /** |
||
| 2295 | * Gets the 'translation.loader.json' service. |
||
| 2296 | * |
||
| 2297 | * This service is shared. |
||
| 2298 | * This method always returns the same instance of the service. |
||
| 2299 | * |
||
| 2300 | * @return \Symfony\Component\Translation\Loader\JsonFileLoader A Symfony\Component\Translation\SimpleLoader\JsonFileLoader instance |
||
| 2301 | */ |
||
| 2302 | protected function getTranslation_Loader_JsonService() |
||
| 2306 | |||
| 2307 | /** |
||
| 2308 | * Gets the 'translation.loader.mo' service. |
||
| 2309 | * |
||
| 2310 | * This service is shared. |
||
| 2311 | * This method always returns the same instance of the service. |
||
| 2312 | * |
||
| 2313 | * @return \Symfony\Component\Translation\Loader\MoFileLoader A Symfony\Component\Translation\SimpleLoader\MoFileLoader instance |
||
| 2314 | */ |
||
| 2315 | protected function getTranslation_Loader_MoService() |
||
| 2319 | |||
| 2320 | /** |
||
| 2321 | * Gets the 'translation.loader.php' service. |
||
| 2322 | * |
||
| 2323 | * This service is shared. |
||
| 2324 | * This method always returns the same instance of the service. |
||
| 2325 | * |
||
| 2326 | * @return \Symfony\Component\Translation\Loader\PhpFileLoader A Symfony\Component\Translation\SimpleLoader\PhpFileLoader instance |
||
| 2327 | */ |
||
| 2328 | protected function getTranslation_Loader_PhpService() |
||
| 2332 | |||
| 2333 | /** |
||
| 2334 | * Gets the 'translation.loader.po' service. |
||
| 2335 | * |
||
| 2336 | * This service is shared. |
||
| 2337 | * This method always returns the same instance of the service. |
||
| 2338 | * |
||
| 2339 | * @return \Symfony\Component\Translation\Loader\PoFileLoader A Symfony\Component\Translation\SimpleLoader\PoFileLoader instance |
||
| 2340 | */ |
||
| 2341 | protected function getTranslation_Loader_PoService() |
||
| 2345 | |||
| 2346 | /** |
||
| 2347 | * Gets the 'translation.loader.qt' service. |
||
| 2348 | * |
||
| 2349 | * This service is shared. |
||
| 2350 | * This method always returns the same instance of the service. |
||
| 2351 | * |
||
| 2352 | * @return \Symfony\Component\Translation\Loader\QtFileLoader A Symfony\Component\Translation\SimpleLoader\QtFileLoader instance |
||
| 2353 | */ |
||
| 2354 | protected function getTranslation_Loader_QtService() |
||
| 2358 | |||
| 2359 | /** |
||
| 2360 | * Gets the 'translation.loader.res' service. |
||
| 2361 | * |
||
| 2362 | * This service is shared. |
||
| 2363 | * This method always returns the same instance of the service. |
||
| 2364 | * |
||
| 2365 | * @return \Symfony\Component\Translation\Loader\IcuResFileLoader A Symfony\Component\Translation\SimpleLoader\IcuResFileLoader instance |
||
| 2366 | */ |
||
| 2367 | protected function getTranslation_Loader_ResService() |
||
| 2371 | |||
| 2372 | /** |
||
| 2373 | * Gets the 'translation.loader.xliff' service. |
||
| 2374 | * |
||
| 2375 | * This service is shared. |
||
| 2376 | * This method always returns the same instance of the service. |
||
| 2377 | * |
||
| 2378 | * @return \Symfony\Component\Translation\Loader\XliffFileLoader A Symfony\Component\Translation\SimpleLoader\XliffFileLoader instance |
||
| 2379 | */ |
||
| 2380 | protected function getTranslation_Loader_XliffService() |
||
| 2384 | |||
| 2385 | /** |
||
| 2386 | * Gets the 'translation.loader.yml' service. |
||
| 2387 | * |
||
| 2388 | * This service is shared. |
||
| 2389 | * This method always returns the same instance of the service. |
||
| 2390 | * |
||
| 2391 | * @return \Symfony\Component\Translation\Loader\YamlFileLoader A Symfony\Component\Translation\SimpleLoader\YamlFileLoader instance |
||
| 2392 | */ |
||
| 2393 | protected function getTranslation_Loader_YmlService() |
||
| 2397 | |||
| 2398 | /** |
||
| 2399 | * Gets the 'translation.writer' service. |
||
| 2400 | * |
||
| 2401 | * This service is shared. |
||
| 2402 | * This method always returns the same instance of the service. |
||
| 2403 | * |
||
| 2404 | * @return \Symfony\Component\Translation\Writer\TranslationWriter A Symfony\Component\Translation\Writer\TranslationWriter instance |
||
| 2405 | */ |
||
| 2406 | View Code Duplication | protected function getTranslation_WriterService() |
|
| 2423 | |||
| 2424 | /** |
||
| 2425 | * Gets the 'translator' service. |
||
| 2426 | * |
||
| 2427 | * This service is shared. |
||
| 2428 | * This method always returns the same instance of the service. |
||
| 2429 | * |
||
| 2430 | * @return \Symfony\Component\Translation\IdentityTranslator A Symfony\Component\Translation\IdentityTranslator instance |
||
| 2431 | */ |
||
| 2432 | protected function getTranslatorService() |
||
| 2436 | |||
| 2437 | /** |
||
| 2438 | * Gets the 'translator.default' service. |
||
| 2439 | * |
||
| 2440 | * This service is shared. |
||
| 2441 | * This method always returns the same instance of the service. |
||
| 2442 | * |
||
| 2443 | * @return \Symfony\Bundle\FrameworkBundle\Translation\Translator A Symfony\Bundle\FrameworkBundle\Translation\Translator instance |
||
| 2444 | */ |
||
| 2445 | View Code Duplication | protected function getTranslator_DefaultService() |
|
| 2453 | |||
| 2454 | /** |
||
| 2455 | * Gets the 'translator_listener' service. |
||
| 2456 | * |
||
| 2457 | * This service is shared. |
||
| 2458 | * This method always returns the same instance of the service. |
||
| 2459 | * |
||
| 2460 | * @return \Symfony\Component\HttpKernel\EventListener\TranslatorListener A Symfony\Component\HttpKernel\EventListener\TranslatorListener instance |
||
| 2461 | */ |
||
| 2462 | protected function getTranslatorListenerService() |
||
| 2466 | |||
| 2467 | /** |
||
| 2468 | * Gets the 'uri_signer' service. |
||
| 2469 | * |
||
| 2470 | * This service is shared. |
||
| 2471 | * This method always returns the same instance of the service. |
||
| 2472 | * |
||
| 2473 | * @return \Symfony\Component\HttpKernel\UriSigner A Symfony\Component\HttpKernel\UriSigner instance |
||
| 2474 | */ |
||
| 2475 | protected function getUriSignerService() |
||
| 2479 | |||
| 2480 | /** |
||
| 2481 | * Gets the 'validate_request_listener' service. |
||
| 2482 | * |
||
| 2483 | * This service is shared. |
||
| 2484 | * This method always returns the same instance of the service. |
||
| 2485 | * |
||
| 2486 | * @return \Symfony\Component\HttpKernel\EventListener\ValidateRequestListener A Symfony\Component\HttpKernel\EventListener\ValidateRequestListener instance |
||
| 2487 | */ |
||
| 2488 | protected function getValidateRequestListenerService() |
||
| 2492 | |||
| 2493 | /** |
||
| 2494 | * Gets the 'validator' service. |
||
| 2495 | * |
||
| 2496 | * This service is shared. |
||
| 2497 | * This method always returns the same instance of the service. |
||
| 2498 | * |
||
| 2499 | * @return \Symfony\Component\Validator\Validator\ValidatorInterface A Symfony\Component\Validator\Validator\ValidatorInterface instance |
||
| 2500 | */ |
||
| 2501 | protected function getValidatorService() |
||
| 2505 | |||
| 2506 | /** |
||
| 2507 | * Gets the 'validator.builder' service. |
||
| 2508 | * |
||
| 2509 | * This service is shared. |
||
| 2510 | * This method always returns the same instance of the service. |
||
| 2511 | * |
||
| 2512 | * @return \Symfony\Component\Validator\ValidatorBuilderInterface A Symfony\Component\Validator\ValidatorBuilderInterface instance |
||
| 2513 | */ |
||
| 2514 | protected function getValidator_BuilderService() |
||
| 2527 | |||
| 2528 | /** |
||
| 2529 | * Gets the 'validator.email' service. |
||
| 2530 | * |
||
| 2531 | * This service is shared. |
||
| 2532 | * This method always returns the same instance of the service. |
||
| 2533 | * |
||
| 2534 | * @return \Symfony\Component\Validator\Constraints\EmailValidator A Symfony\Component\Validator\Constraints\EmailValidator instance |
||
| 2535 | */ |
||
| 2536 | protected function getValidator_EmailService() |
||
| 2540 | |||
| 2541 | /** |
||
| 2542 | * Gets the 'validator.expression' service. |
||
| 2543 | * |
||
| 2544 | * This service is shared. |
||
| 2545 | * This method always returns the same instance of the service. |
||
| 2546 | * |
||
| 2547 | * @return \Symfony\Component\Validator\Constraints\ExpressionValidator A Symfony\Component\Validator\Constraints\ExpressionValidator instance |
||
| 2548 | */ |
||
| 2549 | protected function getValidator_ExpressionService() |
||
| 2553 | |||
| 2554 | /** |
||
| 2555 | * Gets the 'controller_name_converter' service. |
||
| 2556 | * |
||
| 2557 | * This service is shared. |
||
| 2558 | * This method always returns the same instance of the service. |
||
| 2559 | * |
||
| 2560 | * This service is private. |
||
| 2561 | * If you want to be able to request this service from the container directly, |
||
| 2562 | * make it public, otherwise you might end up with broken code. |
||
| 2563 | * |
||
| 2564 | * @return \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser A Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser instance |
||
| 2565 | */ |
||
| 2566 | protected function getControllerNameConverterService() |
||
| 2570 | |||
| 2571 | /** |
||
| 2572 | * Gets the 'doctrine.dbal.logger' service. |
||
| 2573 | * |
||
| 2574 | * This service is shared. |
||
| 2575 | * This method always returns the same instance of the service. |
||
| 2576 | * |
||
| 2577 | * This service is private. |
||
| 2578 | * If you want to be able to request this service from the container directly, |
||
| 2579 | * make it public, otherwise you might end up with broken code. |
||
| 2580 | * |
||
| 2581 | * @return \Symfony\Bridge\Doctrine\Logger\DbalLogger A Symfony\Bridge\Doctrine\Logger\DbalLogger instance |
||
| 2582 | */ |
||
| 2583 | protected function getDoctrine_Dbal_LoggerService() |
||
| 2587 | |||
| 2588 | /** |
||
| 2589 | * Gets the 'doctrine.orm.naming_strategy.default' service. |
||
| 2590 | * |
||
| 2591 | * This service is shared. |
||
| 2592 | * This method always returns the same instance of the service. |
||
| 2593 | * |
||
| 2594 | * This service is private. |
||
| 2595 | * If you want to be able to request this service from the container directly, |
||
| 2596 | * make it public, otherwise you might end up with broken code. |
||
| 2597 | * |
||
| 2598 | * @return \Doctrine\ORM\Mapping\DefaultNamingStrategy A Doctrine\ORM\Mapping\DefaultNamingStrategy instance |
||
| 2599 | */ |
||
| 2600 | protected function getDoctrine_Orm_NamingStrategy_DefaultService() |
||
| 2604 | |||
| 2605 | /** |
||
| 2606 | * Gets the 'doctrine.orm.quote_strategy.default' service. |
||
| 2607 | * |
||
| 2608 | * This service is shared. |
||
| 2609 | * This method always returns the same instance of the service. |
||
| 2610 | * |
||
| 2611 | * This service is private. |
||
| 2612 | * If you want to be able to request this service from the container directly, |
||
| 2613 | * make it public, otherwise you might end up with broken code. |
||
| 2614 | * |
||
| 2615 | * @return \Doctrine\ORM\Mapping\DefaultQuoteStrategy A Doctrine\ORM\Mapping\DefaultQuoteStrategy instance |
||
| 2616 | */ |
||
| 2617 | protected function getDoctrine_Orm_QuoteStrategy_DefaultService() |
||
| 2621 | |||
| 2622 | /** |
||
| 2623 | * Gets the 'router.request_context' service. |
||
| 2624 | * |
||
| 2625 | * This service is shared. |
||
| 2626 | * This method always returns the same instance of the service. |
||
| 2627 | * |
||
| 2628 | * This service is private. |
||
| 2629 | * If you want to be able to request this service from the container directly, |
||
| 2630 | * make it public, otherwise you might end up with broken code. |
||
| 2631 | * |
||
| 2632 | * @return \Symfony\Component\Routing\RequestContext A Symfony\Component\Routing\RequestContext instance |
||
| 2633 | */ |
||
| 2634 | protected function getRouter_RequestContextService() |
||
| 2638 | |||
| 2639 | /** |
||
| 2640 | * Gets the 'session.storage.metadata_bag' service. |
||
| 2641 | * |
||
| 2642 | * This service is shared. |
||
| 2643 | * This method always returns the same instance of the service. |
||
| 2644 | * |
||
| 2645 | * This service is private. |
||
| 2646 | * If you want to be able to request this service from the container directly, |
||
| 2647 | * make it public, otherwise you might end up with broken code. |
||
| 2648 | * |
||
| 2649 | * @return \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag A Symfony\Component\HttpFoundation\Session\Storage\MetadataBag instance |
||
| 2650 | */ |
||
| 2651 | protected function getSession_Storage_MetadataBagService() |
||
| 2655 | |||
| 2656 | /** |
||
| 2657 | * Gets the 'translator.selector' service. |
||
| 2658 | * |
||
| 2659 | * This service is shared. |
||
| 2660 | * This method always returns the same instance of the service. |
||
| 2661 | * |
||
| 2662 | * This service is private. |
||
| 2663 | * If you want to be able to request this service from the container directly, |
||
| 2664 | * make it public, otherwise you might end up with broken code. |
||
| 2665 | * |
||
| 2666 | * @return \Symfony\Component\Translation\MessageSelector A Symfony\Component\Translation\MessageSelector instance |
||
| 2667 | */ |
||
| 2668 | protected function getTranslator_SelectorService() |
||
| 2672 | |||
| 2673 | /** |
||
| 2674 | * {@inheritdoc} |
||
| 2675 | */ |
||
| 2676 | public function getParameter($name) |
||
| 2686 | |||
| 2687 | /** |
||
| 2688 | * {@inheritdoc} |
||
| 2689 | */ |
||
| 2690 | public function hasParameter($name) |
||
| 2696 | |||
| 2697 | /** |
||
| 2698 | * {@inheritdoc} |
||
| 2699 | */ |
||
| 2700 | public function setParameter($name, $value) |
||
| 2704 | |||
| 2705 | /** |
||
| 2706 | * {@inheritdoc} |
||
| 2707 | */ |
||
| 2708 | public function getParameterBag() |
||
| 2716 | |||
| 2717 | /** |
||
| 2718 | * Gets the default parameters. |
||
| 2719 | * |
||
| 2720 | * @return array An array of the default parameters |
||
| 2721 | */ |
||
| 2722 | protected function getDefaultParameters() |
||
| 2920 | } |
||
| 2921 |
Let’s assume that you have a directory layout like this:
. |-- OtherDir | |-- Bar.php | `-- Foo.php `-- SomeDir `-- Foo.phpand let’s assume the following content of
Bar.php:If both files
OtherDir/Foo.phpandSomeDir/Foo.phpare loaded in the same runtime, you will see a PHP error such as the following:PHP Fatal error: Cannot use SomeDir\Foo as Foo because the name is already in use in OtherDir/Foo.phpHowever, as
OtherDir/Foo.phpdoes not necessarily have to be loaded and the error is only triggered if it is loaded beforeOtherDir/Bar.php, this problem might go unnoticed for a while. In order to prevent this error from surfacing, you must import the namespace with a different alias: