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 AppTestDebugProjectContainer 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 AppTestDebugProjectContainer, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 17 | class AppTestDebugProjectContainer extends Container |
||
| 18 | { |
||
| 19 | private $parameters; |
||
| 20 | private $targetDirs = array(); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor. |
||
| 24 | */ |
||
| 25 | public function __construct() |
||
| 192 | |||
| 193 | /** |
||
| 194 | * {@inheritdoc} |
||
| 195 | */ |
||
| 196 | public function compile() |
||
| 200 | |||
| 201 | /** |
||
| 202 | * Gets the 'annotation_reader' service. |
||
| 203 | * |
||
| 204 | * This service is shared. |
||
| 205 | * This method always returns the same instance of the service. |
||
| 206 | * |
||
| 207 | * @return \Doctrine\Common\Annotations\CachedReader A Doctrine\Common\Annotations\CachedReader instance. |
||
| 208 | */ |
||
| 209 | protected function getAnnotationReaderService() |
||
| 213 | |||
| 214 | /** |
||
| 215 | * Gets the 'assets.context' service. |
||
| 216 | * |
||
| 217 | * This service is shared. |
||
| 218 | * This method always returns the same instance of the service. |
||
| 219 | * |
||
| 220 | * @return \Symfony\Component\Asset\Context\RequestStackContext A Symfony\Component\Asset\Context\RequestStackContext instance. |
||
| 221 | */ |
||
| 222 | protected function getAssets_ContextService() |
||
| 226 | |||
| 227 | /** |
||
| 228 | * Gets the 'assets.packages' service. |
||
| 229 | * |
||
| 230 | * This service is shared. |
||
| 231 | * This method always returns the same instance of the service. |
||
| 232 | * |
||
| 233 | * @return \Symfony\Component\Asset\Packages A Symfony\Component\Asset\Packages instance. |
||
| 234 | */ |
||
| 235 | protected function getAssets_PackagesService() |
||
| 239 | |||
| 240 | /** |
||
| 241 | * Gets the 'cache_clearer' service. |
||
| 242 | * |
||
| 243 | * This service is shared. |
||
| 244 | * This method always returns the same instance of the service. |
||
| 245 | * |
||
| 246 | * @return \Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer A Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer instance. |
||
| 247 | */ |
||
| 248 | protected function getCacheClearerService() |
||
| 252 | |||
| 253 | /** |
||
| 254 | * Gets the 'cache_warmer' service. |
||
| 255 | * |
||
| 256 | * This service is shared. |
||
| 257 | * This method always returns the same instance of the service. |
||
| 258 | * |
||
| 259 | * @return \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate A Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate instance. |
||
| 260 | */ |
||
| 261 | protected function getCacheWarmerService() |
||
| 270 | |||
| 271 | /** |
||
| 272 | * Gets the 'config_cache_factory' service. |
||
| 273 | * |
||
| 274 | * This service is shared. |
||
| 275 | * This method always returns the same instance of the service. |
||
| 276 | * |
||
| 277 | * @return \Symfony\Component\Config\ResourceCheckerConfigCacheFactory A Symfony\Component\Config\ResourceCheckerConfigCacheFactory instance. |
||
| 278 | */ |
||
| 279 | protected function getConfigCacheFactoryService() |
||
| 283 | |||
| 284 | /** |
||
| 285 | * Gets the 'debug.controller_resolver' service. |
||
| 286 | * |
||
| 287 | * This service is shared. |
||
| 288 | * This method always returns the same instance of the service. |
||
| 289 | * |
||
| 290 | * @return \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver A Symfony\Component\HttpKernel\Controller\TraceableControllerResolver instance. |
||
| 291 | */ |
||
| 292 | protected function getDebug_ControllerResolverService() |
||
| 296 | |||
| 297 | /** |
||
| 298 | * Gets the 'debug.debug_handlers_listener' service. |
||
| 299 | * |
||
| 300 | * This service is shared. |
||
| 301 | * This method always returns the same instance of the service. |
||
| 302 | * |
||
| 303 | * @return \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener A Symfony\Component\HttpKernel\EventListener\DebugHandlersListener instance. |
||
| 304 | */ |
||
| 305 | protected function getDebug_DebugHandlersListenerService() |
||
| 309 | |||
| 310 | /** |
||
| 311 | * Gets the 'debug.event_dispatcher' service. |
||
| 312 | * |
||
| 313 | * This service is shared. |
||
| 314 | * This method always returns the same instance of the service. |
||
| 315 | * |
||
| 316 | * @return \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher instance. |
||
| 317 | */ |
||
| 318 | protected function getDebug_EventDispatcherService() |
||
| 335 | |||
| 336 | /** |
||
| 337 | * Gets the 'debug.stopwatch' service. |
||
| 338 | * |
||
| 339 | * This service is shared. |
||
| 340 | * This method always returns the same instance of the service. |
||
| 341 | * |
||
| 342 | * @return \Symfony\Component\Stopwatch\Stopwatch A Symfony\Component\Stopwatch\Stopwatch instance. |
||
| 343 | */ |
||
| 344 | protected function getDebug_StopwatchService() |
||
| 348 | |||
| 349 | /** |
||
| 350 | * Gets the 'file_locator' service. |
||
| 351 | * |
||
| 352 | * This service is shared. |
||
| 353 | * This method always returns the same instance of the service. |
||
| 354 | * |
||
| 355 | * @return \Symfony\Component\HttpKernel\Config\FileLocator A Symfony\Component\HttpKernel\Config\FileLocator instance. |
||
| 356 | */ |
||
| 357 | protected function getFileLocatorService() |
||
| 361 | |||
| 362 | /** |
||
| 363 | * Gets the 'filesystem' service. |
||
| 364 | * |
||
| 365 | * This service is shared. |
||
| 366 | * This method always returns the same instance of the service. |
||
| 367 | * |
||
| 368 | * @return \Symfony\Component\Filesystem\Filesystem A Symfony\Component\Filesystem\Filesystem instance. |
||
| 369 | */ |
||
| 370 | protected function getFilesystemService() |
||
| 374 | |||
| 375 | /** |
||
| 376 | * Gets the 'form.csrf_provider' service. |
||
| 377 | * |
||
| 378 | * This service is shared. |
||
| 379 | * This method always returns the same instance of the service. |
||
| 380 | * |
||
| 381 | * @return \Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter A Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter instance. |
||
| 382 | * |
||
| 383 | * @deprecated The "form.csrf_provider" service is deprecated since Symfony 2.4 and will be removed in 3.0. Use the "security.csrf.token_manager" service instead. |
||
| 384 | */ |
||
| 385 | protected function getForm_CsrfProviderService() |
||
| 391 | |||
| 392 | /** |
||
| 393 | * Gets the 'form.factory' service. |
||
| 394 | * |
||
| 395 | * This service is shared. |
||
| 396 | * This method always returns the same instance of the service. |
||
| 397 | * |
||
| 398 | * @return \Symfony\Component\Form\FormFactory A Symfony\Component\Form\FormFactory instance. |
||
| 399 | */ |
||
| 400 | protected function getForm_FactoryService() |
||
| 404 | |||
| 405 | /** |
||
| 406 | * Gets the 'form.registry' service. |
||
| 407 | * |
||
| 408 | * This service is shared. |
||
| 409 | * This method always returns the same instance of the service. |
||
| 410 | * |
||
| 411 | * @return \Symfony\Component\Form\FormRegistry A Symfony\Component\Form\FormRegistry instance. |
||
| 412 | */ |
||
| 413 | protected function getForm_RegistryService() |
||
| 417 | |||
| 418 | /** |
||
| 419 | * Gets the 'form.resolved_type_factory' service. |
||
| 420 | * |
||
| 421 | * This service is shared. |
||
| 422 | * This method always returns the same instance of the service. |
||
| 423 | * |
||
| 424 | * @return \Symfony\Component\Form\ResolvedFormTypeFactory A Symfony\Component\Form\ResolvedFormTypeFactory instance. |
||
| 425 | */ |
||
| 426 | protected function getForm_ResolvedTypeFactoryService() |
||
| 430 | |||
| 431 | /** |
||
| 432 | * Gets the 'form.type.birthday' service. |
||
| 433 | * |
||
| 434 | * This service is shared. |
||
| 435 | * This method always returns the same instance of the service. |
||
| 436 | * |
||
| 437 | * @return \Symfony\Component\Form\Extension\Core\Type\BirthdayType A Symfony\Component\Form\Extension\Core\Type\BirthdayType instance. |
||
| 438 | */ |
||
| 439 | protected function getForm_Type_BirthdayService() |
||
| 443 | |||
| 444 | /** |
||
| 445 | * Gets the 'form.type.button' service. |
||
| 446 | * |
||
| 447 | * This service is shared. |
||
| 448 | * This method always returns the same instance of the service. |
||
| 449 | * |
||
| 450 | * @return \Symfony\Component\Form\Extension\Core\Type\ButtonType A Symfony\Component\Form\Extension\Core\Type\ButtonType instance. |
||
| 451 | */ |
||
| 452 | protected function getForm_Type_ButtonService() |
||
| 456 | |||
| 457 | /** |
||
| 458 | * Gets the 'form.type.checkbox' service. |
||
| 459 | * |
||
| 460 | * This service is shared. |
||
| 461 | * This method always returns the same instance of the service. |
||
| 462 | * |
||
| 463 | * @return \Symfony\Component\Form\Extension\Core\Type\CheckboxType A Symfony\Component\Form\Extension\Core\Type\CheckboxType instance. |
||
| 464 | */ |
||
| 465 | protected function getForm_Type_CheckboxService() |
||
| 469 | |||
| 470 | /** |
||
| 471 | * Gets the 'form.type.choice' service. |
||
| 472 | * |
||
| 473 | * This service is shared. |
||
| 474 | * This method always returns the same instance of the service. |
||
| 475 | * |
||
| 476 | * @return \Symfony\Component\Form\Extension\Core\Type\ChoiceType A Symfony\Component\Form\Extension\Core\Type\ChoiceType instance. |
||
| 477 | */ |
||
| 478 | protected function getForm_Type_ChoiceService() |
||
| 482 | |||
| 483 | /** |
||
| 484 | * Gets the 'form.type.collection' service. |
||
| 485 | * |
||
| 486 | * This service is shared. |
||
| 487 | * This method always returns the same instance of the service. |
||
| 488 | * |
||
| 489 | * @return \Symfony\Component\Form\Extension\Core\Type\CollectionType A Symfony\Component\Form\Extension\Core\Type\CollectionType instance. |
||
| 490 | */ |
||
| 491 | protected function getForm_Type_CollectionService() |
||
| 495 | |||
| 496 | /** |
||
| 497 | * Gets the 'form.type.country' service. |
||
| 498 | * |
||
| 499 | * This service is shared. |
||
| 500 | * This method always returns the same instance of the service. |
||
| 501 | * |
||
| 502 | * @return \Symfony\Component\Form\Extension\Core\Type\CountryType A Symfony\Component\Form\Extension\Core\Type\CountryType instance. |
||
| 503 | */ |
||
| 504 | protected function getForm_Type_CountryService() |
||
| 508 | |||
| 509 | /** |
||
| 510 | * Gets the 'form.type.currency' service. |
||
| 511 | * |
||
| 512 | * This service is shared. |
||
| 513 | * This method always returns the same instance of the service. |
||
| 514 | * |
||
| 515 | * @return \Symfony\Component\Form\Extension\Core\Type\CurrencyType A Symfony\Component\Form\Extension\Core\Type\CurrencyType instance. |
||
| 516 | */ |
||
| 517 | protected function getForm_Type_CurrencyService() |
||
| 521 | |||
| 522 | /** |
||
| 523 | * Gets the 'form.type.date' service. |
||
| 524 | * |
||
| 525 | * This service is shared. |
||
| 526 | * This method always returns the same instance of the service. |
||
| 527 | * |
||
| 528 | * @return \Symfony\Component\Form\Extension\Core\Type\DateType A Symfony\Component\Form\Extension\Core\Type\DateType instance. |
||
| 529 | */ |
||
| 530 | protected function getForm_Type_DateService() |
||
| 534 | |||
| 535 | /** |
||
| 536 | * Gets the 'form.type.datetime' service. |
||
| 537 | * |
||
| 538 | * This service is shared. |
||
| 539 | * This method always returns the same instance of the service. |
||
| 540 | * |
||
| 541 | * @return \Symfony\Component\Form\Extension\Core\Type\DateTimeType A Symfony\Component\Form\Extension\Core\Type\DateTimeType instance. |
||
| 542 | */ |
||
| 543 | protected function getForm_Type_DatetimeService() |
||
| 547 | |||
| 548 | /** |
||
| 549 | * Gets the 'form.type.email' service. |
||
| 550 | * |
||
| 551 | * This service is shared. |
||
| 552 | * This method always returns the same instance of the service. |
||
| 553 | * |
||
| 554 | * @return \Symfony\Component\Form\Extension\Core\Type\EmailType A Symfony\Component\Form\Extension\Core\Type\EmailType instance. |
||
| 555 | */ |
||
| 556 | protected function getForm_Type_EmailService() |
||
| 560 | |||
| 561 | /** |
||
| 562 | * Gets the 'form.type.file' service. |
||
| 563 | * |
||
| 564 | * This service is shared. |
||
| 565 | * This method always returns the same instance of the service. |
||
| 566 | * |
||
| 567 | * @return \Symfony\Component\Form\Extension\Core\Type\FileType A Symfony\Component\Form\Extension\Core\Type\FileType instance. |
||
| 568 | */ |
||
| 569 | protected function getForm_Type_FileService() |
||
| 573 | |||
| 574 | /** |
||
| 575 | * Gets the 'form.type.form' service. |
||
| 576 | * |
||
| 577 | * This service is shared. |
||
| 578 | * This method always returns the same instance of the service. |
||
| 579 | * |
||
| 580 | * @return \Symfony\Component\Form\Extension\Core\Type\FormType A Symfony\Component\Form\Extension\Core\Type\FormType instance. |
||
| 581 | */ |
||
| 582 | protected function getForm_Type_FormService() |
||
| 586 | |||
| 587 | /** |
||
| 588 | * Gets the 'form.type.hidden' service. |
||
| 589 | * |
||
| 590 | * This service is shared. |
||
| 591 | * This method always returns the same instance of the service. |
||
| 592 | * |
||
| 593 | * @return \Symfony\Component\Form\Extension\Core\Type\HiddenType A Symfony\Component\Form\Extension\Core\Type\HiddenType instance. |
||
| 594 | */ |
||
| 595 | protected function getForm_Type_HiddenService() |
||
| 599 | |||
| 600 | /** |
||
| 601 | * Gets the 'form.type.integer' service. |
||
| 602 | * |
||
| 603 | * This service is shared. |
||
| 604 | * This method always returns the same instance of the service. |
||
| 605 | * |
||
| 606 | * @return \Symfony\Component\Form\Extension\Core\Type\IntegerType A Symfony\Component\Form\Extension\Core\Type\IntegerType instance. |
||
| 607 | */ |
||
| 608 | protected function getForm_Type_IntegerService() |
||
| 612 | |||
| 613 | /** |
||
| 614 | * Gets the 'form.type.language' service. |
||
| 615 | * |
||
| 616 | * This service is shared. |
||
| 617 | * This method always returns the same instance of the service. |
||
| 618 | * |
||
| 619 | * @return \Symfony\Component\Form\Extension\Core\Type\LanguageType A Symfony\Component\Form\Extension\Core\Type\LanguageType instance. |
||
| 620 | */ |
||
| 621 | protected function getForm_Type_LanguageService() |
||
| 625 | |||
| 626 | /** |
||
| 627 | * Gets the 'form.type.locale' service. |
||
| 628 | * |
||
| 629 | * This service is shared. |
||
| 630 | * This method always returns the same instance of the service. |
||
| 631 | * |
||
| 632 | * @return \Symfony\Component\Form\Extension\Core\Type\LocaleType A Symfony\Component\Form\Extension\Core\Type\LocaleType instance. |
||
| 633 | */ |
||
| 634 | protected function getForm_Type_LocaleService() |
||
| 638 | |||
| 639 | /** |
||
| 640 | * Gets the 'form.type.money' service. |
||
| 641 | * |
||
| 642 | * This service is shared. |
||
| 643 | * This method always returns the same instance of the service. |
||
| 644 | * |
||
| 645 | * @return \Symfony\Component\Form\Extension\Core\Type\MoneyType A Symfony\Component\Form\Extension\Core\Type\MoneyType instance. |
||
| 646 | */ |
||
| 647 | protected function getForm_Type_MoneyService() |
||
| 651 | |||
| 652 | /** |
||
| 653 | * Gets the 'form.type.number' service. |
||
| 654 | * |
||
| 655 | * This service is shared. |
||
| 656 | * This method always returns the same instance of the service. |
||
| 657 | * |
||
| 658 | * @return \Symfony\Component\Form\Extension\Core\Type\NumberType A Symfony\Component\Form\Extension\Core\Type\NumberType instance. |
||
| 659 | */ |
||
| 660 | protected function getForm_Type_NumberService() |
||
| 664 | |||
| 665 | /** |
||
| 666 | * Gets the 'form.type.password' service. |
||
| 667 | * |
||
| 668 | * This service is shared. |
||
| 669 | * This method always returns the same instance of the service. |
||
| 670 | * |
||
| 671 | * @return \Symfony\Component\Form\Extension\Core\Type\PasswordType A Symfony\Component\Form\Extension\Core\Type\PasswordType instance. |
||
| 672 | */ |
||
| 673 | protected function getForm_Type_PasswordService() |
||
| 677 | |||
| 678 | /** |
||
| 679 | * Gets the 'form.type.percent' service. |
||
| 680 | * |
||
| 681 | * This service is shared. |
||
| 682 | * This method always returns the same instance of the service. |
||
| 683 | * |
||
| 684 | * @return \Symfony\Component\Form\Extension\Core\Type\PercentType A Symfony\Component\Form\Extension\Core\Type\PercentType instance. |
||
| 685 | */ |
||
| 686 | protected function getForm_Type_PercentService() |
||
| 690 | |||
| 691 | /** |
||
| 692 | * Gets the 'form.type.radio' service. |
||
| 693 | * |
||
| 694 | * This service is shared. |
||
| 695 | * This method always returns the same instance of the service. |
||
| 696 | * |
||
| 697 | * @return \Symfony\Component\Form\Extension\Core\Type\RadioType A Symfony\Component\Form\Extension\Core\Type\RadioType instance. |
||
| 698 | */ |
||
| 699 | protected function getForm_Type_RadioService() |
||
| 703 | |||
| 704 | /** |
||
| 705 | * Gets the 'form.type.range' service. |
||
| 706 | * |
||
| 707 | * This service is shared. |
||
| 708 | * This method always returns the same instance of the service. |
||
| 709 | * |
||
| 710 | * @return \Symfony\Component\Form\Extension\Core\Type\RangeType A Symfony\Component\Form\Extension\Core\Type\RangeType instance. |
||
| 711 | */ |
||
| 712 | protected function getForm_Type_RangeService() |
||
| 716 | |||
| 717 | /** |
||
| 718 | * Gets the 'form.type.repeated' service. |
||
| 719 | * |
||
| 720 | * This service is shared. |
||
| 721 | * This method always returns the same instance of the service. |
||
| 722 | * |
||
| 723 | * @return \Symfony\Component\Form\Extension\Core\Type\RepeatedType A Symfony\Component\Form\Extension\Core\Type\RepeatedType instance. |
||
| 724 | */ |
||
| 725 | protected function getForm_Type_RepeatedService() |
||
| 729 | |||
| 730 | /** |
||
| 731 | * Gets the 'form.type.reset' service. |
||
| 732 | * |
||
| 733 | * This service is shared. |
||
| 734 | * This method always returns the same instance of the service. |
||
| 735 | * |
||
| 736 | * @return \Symfony\Component\Form\Extension\Core\Type\ResetType A Symfony\Component\Form\Extension\Core\Type\ResetType instance. |
||
| 737 | */ |
||
| 738 | protected function getForm_Type_ResetService() |
||
| 742 | |||
| 743 | /** |
||
| 744 | * Gets the 'form.type.search' service. |
||
| 745 | * |
||
| 746 | * This service is shared. |
||
| 747 | * This method always returns the same instance of the service. |
||
| 748 | * |
||
| 749 | * @return \Symfony\Component\Form\Extension\Core\Type\SearchType A Symfony\Component\Form\Extension\Core\Type\SearchType instance. |
||
| 750 | */ |
||
| 751 | protected function getForm_Type_SearchService() |
||
| 755 | |||
| 756 | /** |
||
| 757 | * Gets the 'form.type.submit' service. |
||
| 758 | * |
||
| 759 | * This service is shared. |
||
| 760 | * This method always returns the same instance of the service. |
||
| 761 | * |
||
| 762 | * @return \Symfony\Component\Form\Extension\Core\Type\SubmitType A Symfony\Component\Form\Extension\Core\Type\SubmitType instance. |
||
| 763 | */ |
||
| 764 | protected function getForm_Type_SubmitService() |
||
| 768 | |||
| 769 | /** |
||
| 770 | * Gets the 'form.type.text' service. |
||
| 771 | * |
||
| 772 | * This service is shared. |
||
| 773 | * This method always returns the same instance of the service. |
||
| 774 | * |
||
| 775 | * @return \Symfony\Component\Form\Extension\Core\Type\TextType A Symfony\Component\Form\Extension\Core\Type\TextType instance. |
||
| 776 | */ |
||
| 777 | protected function getForm_Type_TextService() |
||
| 781 | |||
| 782 | /** |
||
| 783 | * Gets the 'form.type.textarea' service. |
||
| 784 | * |
||
| 785 | * This service is shared. |
||
| 786 | * This method always returns the same instance of the service. |
||
| 787 | * |
||
| 788 | * @return \Symfony\Component\Form\Extension\Core\Type\TextareaType A Symfony\Component\Form\Extension\Core\Type\TextareaType instance. |
||
| 789 | */ |
||
| 790 | protected function getForm_Type_TextareaService() |
||
| 794 | |||
| 795 | /** |
||
| 796 | * Gets the 'form.type.time' service. |
||
| 797 | * |
||
| 798 | * This service is shared. |
||
| 799 | * This method always returns the same instance of the service. |
||
| 800 | * |
||
| 801 | * @return \Symfony\Component\Form\Extension\Core\Type\TimeType A Symfony\Component\Form\Extension\Core\Type\TimeType instance. |
||
| 802 | */ |
||
| 803 | protected function getForm_Type_TimeService() |
||
| 807 | |||
| 808 | /** |
||
| 809 | * Gets the 'form.type.timezone' service. |
||
| 810 | * |
||
| 811 | * This service is shared. |
||
| 812 | * This method always returns the same instance of the service. |
||
| 813 | * |
||
| 814 | * @return \Symfony\Component\Form\Extension\Core\Type\TimezoneType A Symfony\Component\Form\Extension\Core\Type\TimezoneType instance. |
||
| 815 | */ |
||
| 816 | protected function getForm_Type_TimezoneService() |
||
| 820 | |||
| 821 | /** |
||
| 822 | * Gets the 'form.type.url' service. |
||
| 823 | * |
||
| 824 | * This service is shared. |
||
| 825 | * This method always returns the same instance of the service. |
||
| 826 | * |
||
| 827 | * @return \Symfony\Component\Form\Extension\Core\Type\UrlType A Symfony\Component\Form\Extension\Core\Type\UrlType instance. |
||
| 828 | */ |
||
| 829 | protected function getForm_Type_UrlService() |
||
| 833 | |||
| 834 | /** |
||
| 835 | * Gets the 'form.type_extension.csrf' service. |
||
| 836 | * |
||
| 837 | * This service is shared. |
||
| 838 | * This method always returns the same instance of the service. |
||
| 839 | * |
||
| 840 | * @return \Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension A Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension instance. |
||
| 841 | */ |
||
| 842 | protected function getForm_TypeExtension_CsrfService() |
||
| 846 | |||
| 847 | /** |
||
| 848 | * Gets the 'form.type_extension.form.http_foundation' service. |
||
| 849 | * |
||
| 850 | * This service is shared. |
||
| 851 | * This method always returns the same instance of the service. |
||
| 852 | * |
||
| 853 | * @return \Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension A Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension instance. |
||
| 854 | */ |
||
| 855 | protected function getForm_TypeExtension_Form_HttpFoundationService() |
||
| 859 | |||
| 860 | /** |
||
| 861 | * Gets the 'form.type_extension.form.validator' service. |
||
| 862 | * |
||
| 863 | * This service is shared. |
||
| 864 | * This method always returns the same instance of the service. |
||
| 865 | * |
||
| 866 | * @return \Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension instance. |
||
| 867 | */ |
||
| 868 | protected function getForm_TypeExtension_Form_ValidatorService() |
||
| 872 | |||
| 873 | /** |
||
| 874 | * Gets the 'form.type_extension.repeated.validator' 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\Validator\Type\RepeatedTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension instance. |
||
| 880 | */ |
||
| 881 | protected function getForm_TypeExtension_Repeated_ValidatorService() |
||
| 885 | |||
| 886 | /** |
||
| 887 | * Gets the 'form.type_extension.submit.validator' service. |
||
| 888 | * |
||
| 889 | * This service is shared. |
||
| 890 | * This method always returns the same instance of the service. |
||
| 891 | * |
||
| 892 | * @return \Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension instance. |
||
| 893 | */ |
||
| 894 | protected function getForm_TypeExtension_Submit_ValidatorService() |
||
| 898 | |||
| 899 | /** |
||
| 900 | * Gets the 'form.type_guesser.validator' service. |
||
| 901 | * |
||
| 902 | * This service is shared. |
||
| 903 | * This method always returns the same instance of the service. |
||
| 904 | * |
||
| 905 | * @return \Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser A Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser instance. |
||
| 906 | */ |
||
| 907 | protected function getForm_TypeGuesser_ValidatorService() |
||
| 911 | |||
| 912 | /** |
||
| 913 | * Gets the 'fragment.handler' service. |
||
| 914 | * |
||
| 915 | * This service is shared. |
||
| 916 | * This method always returns the same instance of the service. |
||
| 917 | * |
||
| 918 | * @return \Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler A Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler instance. |
||
| 919 | */ |
||
| 920 | protected function getFragment_HandlerService() |
||
| 932 | |||
| 933 | /** |
||
| 934 | * Gets the 'fragment.renderer.esi' service. |
||
| 935 | * |
||
| 936 | * This service is shared. |
||
| 937 | * This method always returns the same instance of the service. |
||
| 938 | * |
||
| 939 | * @return \Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer A Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer instance. |
||
| 940 | */ |
||
| 941 | View Code Duplication | protected function getFragment_Renderer_EsiService() |
|
| 949 | |||
| 950 | /** |
||
| 951 | * Gets the 'fragment.renderer.hinclude' service. |
||
| 952 | * |
||
| 953 | * This service is shared. |
||
| 954 | * This method always returns the same instance of the service. |
||
| 955 | * |
||
| 956 | * @return \Symfony\Component\HttpKernel\Fragment\HIncludeFragmentRenderer A Symfony\Component\HttpKernel\Fragment\HIncludeFragmentRenderer instance. |
||
| 957 | */ |
||
| 958 | protected function getFragment_Renderer_HincludeService() |
||
| 966 | |||
| 967 | /** |
||
| 968 | * Gets the 'fragment.renderer.inline' service. |
||
| 969 | * |
||
| 970 | * This service is shared. |
||
| 971 | * This method always returns the same instance of the service. |
||
| 972 | * |
||
| 973 | * @return \Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer A Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer instance. |
||
| 974 | */ |
||
| 975 | protected function getFragment_Renderer_InlineService() |
||
| 983 | |||
| 984 | /** |
||
| 985 | * Gets the 'fragment.renderer.ssi' service. |
||
| 986 | * |
||
| 987 | * This service is shared. |
||
| 988 | * This method always returns the same instance of the service. |
||
| 989 | * |
||
| 990 | * @return \Symfony\Component\HttpKernel\Fragment\SsiFragmentRenderer A Symfony\Component\HttpKernel\Fragment\SsiFragmentRenderer instance. |
||
| 991 | */ |
||
| 992 | View Code Duplication | protected function getFragment_Renderer_SsiService() |
|
| 1000 | |||
| 1001 | /** |
||
| 1002 | * Gets the 'http_kernel' service. |
||
| 1003 | * |
||
| 1004 | * This service is shared. |
||
| 1005 | * This method always returns the same instance of the service. |
||
| 1006 | * |
||
| 1007 | * @return \Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel A Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel instance. |
||
| 1008 | */ |
||
| 1009 | protected function getHttpKernelService() |
||
| 1013 | |||
| 1014 | /** |
||
| 1015 | * Gets the 'itkg_translation.command.translation' service. |
||
| 1016 | * |
||
| 1017 | * This service is shared. |
||
| 1018 | * This method always returns the same instance of the service. |
||
| 1019 | * |
||
| 1020 | * @return \Itkg\TranslationBundle\Command\TranslationConverterCommand A Itkg\TranslationBundle\Command\TranslationConverterCommand instance. |
||
| 1021 | */ |
||
| 1022 | protected function getItkgTranslation_Command_TranslationService() |
||
| 1026 | |||
| 1027 | /** |
||
| 1028 | * Gets the 'itkg_translation.finder' service. |
||
| 1029 | * |
||
| 1030 | * This service is shared. |
||
| 1031 | * This method always returns the same instance of the service. |
||
| 1032 | * |
||
| 1033 | * @return \Symfony\Component\Finder\Finder A Symfony\Component\Finder\Finder instance. |
||
| 1034 | */ |
||
| 1035 | protected function getItkgTranslation_FinderService() |
||
| 1039 | |||
| 1040 | /** |
||
| 1041 | * Gets the 'kernel' service. |
||
| 1042 | * |
||
| 1043 | * This service is shared. |
||
| 1044 | * This method always returns the same instance of the service. |
||
| 1045 | * |
||
| 1046 | * @throws RuntimeException always since this service is expected to be injected dynamically |
||
| 1047 | */ |
||
| 1048 | protected function getKernelService() |
||
| 1052 | |||
| 1053 | /** |
||
| 1054 | * Gets the 'kernel.class_cache.cache_warmer' service. |
||
| 1055 | * |
||
| 1056 | * This service is shared. |
||
| 1057 | * This method always returns the same instance of the service. |
||
| 1058 | * |
||
| 1059 | * @return \Symfony\Bundle\FrameworkBundle\CacheWarmer\ClassCacheCacheWarmer A Symfony\Bundle\FrameworkBundle\CacheWarmer\ClassCacheCacheWarmer instance. |
||
| 1060 | */ |
||
| 1061 | protected function getKernel_ClassCache_CacheWarmerService() |
||
| 1065 | |||
| 1066 | /** |
||
| 1067 | * Gets the 'locale_listener' service. |
||
| 1068 | * |
||
| 1069 | * This service is shared. |
||
| 1070 | * This method always returns the same instance of the service. |
||
| 1071 | * |
||
| 1072 | * @return \Symfony\Component\HttpKernel\EventListener\LocaleListener A Symfony\Component\HttpKernel\EventListener\LocaleListener instance. |
||
| 1073 | */ |
||
| 1074 | protected function getLocaleListenerService() |
||
| 1078 | |||
| 1079 | /** |
||
| 1080 | * Gets the 'logger' service. |
||
| 1081 | * |
||
| 1082 | * This service is shared. |
||
| 1083 | * This method always returns the same instance of the service. |
||
| 1084 | * |
||
| 1085 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1086 | */ |
||
| 1087 | View Code Duplication | protected function getLoggerService() |
|
| 1095 | |||
| 1096 | /** |
||
| 1097 | * Gets the 'monolog.handler.main' service. |
||
| 1098 | * |
||
| 1099 | * This service is shared. |
||
| 1100 | * This method always returns the same instance of the service. |
||
| 1101 | * |
||
| 1102 | * @return \Monolog\Handler\FingersCrossedHandler A Monolog\Handler\FingersCrossedHandler instance. |
||
| 1103 | */ |
||
| 1104 | protected function getMonolog_Handler_MainService() |
||
| 1108 | |||
| 1109 | /** |
||
| 1110 | * Gets the 'monolog.handler.nested' service. |
||
| 1111 | * |
||
| 1112 | * This service is shared. |
||
| 1113 | * This method always returns the same instance of the service. |
||
| 1114 | * |
||
| 1115 | * @return \Monolog\Handler\StreamHandler A Monolog\Handler\StreamHandler instance. |
||
| 1116 | */ |
||
| 1117 | protected function getMonolog_Handler_NestedService() |
||
| 1121 | |||
| 1122 | /** |
||
| 1123 | * Gets the 'monolog.logger.event' service. |
||
| 1124 | * |
||
| 1125 | * This service is shared. |
||
| 1126 | * This method always returns the same instance of the service. |
||
| 1127 | * |
||
| 1128 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1129 | */ |
||
| 1130 | View Code Duplication | protected function getMonolog_Logger_EventService() |
|
| 1138 | |||
| 1139 | /** |
||
| 1140 | * Gets the 'monolog.logger.php' service. |
||
| 1141 | * |
||
| 1142 | * This service is shared. |
||
| 1143 | * This method always returns the same instance of the service. |
||
| 1144 | * |
||
| 1145 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1146 | */ |
||
| 1147 | View Code Duplication | protected function getMonolog_Logger_PhpService() |
|
| 1155 | |||
| 1156 | /** |
||
| 1157 | * Gets the 'monolog.logger.request' service. |
||
| 1158 | * |
||
| 1159 | * This service is shared. |
||
| 1160 | * This method always returns the same instance of the service. |
||
| 1161 | * |
||
| 1162 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1163 | */ |
||
| 1164 | protected function getMonolog_Logger_RequestService() |
||
| 1172 | |||
| 1173 | /** |
||
| 1174 | * Gets the 'monolog.logger.router' service. |
||
| 1175 | * |
||
| 1176 | * This service is shared. |
||
| 1177 | * This method always returns the same instance of the service. |
||
| 1178 | * |
||
| 1179 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1180 | */ |
||
| 1181 | protected function getMonolog_Logger_RouterService() |
||
| 1189 | |||
| 1190 | /** |
||
| 1191 | * Gets the 'monolog.logger.templating' service. |
||
| 1192 | * |
||
| 1193 | * This service is shared. |
||
| 1194 | * This method always returns the same instance of the service. |
||
| 1195 | * |
||
| 1196 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1197 | */ |
||
| 1198 | protected function getMonolog_Logger_TemplatingService() |
||
| 1206 | |||
| 1207 | /** |
||
| 1208 | * Gets the 'monolog.logger.translation' service. |
||
| 1209 | * |
||
| 1210 | * This service is shared. |
||
| 1211 | * This method always returns the same instance of the service. |
||
| 1212 | * |
||
| 1213 | * @return \Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance. |
||
| 1214 | */ |
||
| 1215 | protected function getMonolog_Logger_TranslationService() |
||
| 1223 | |||
| 1224 | /** |
||
| 1225 | * Gets the 'property_accessor' service. |
||
| 1226 | * |
||
| 1227 | * This service is shared. |
||
| 1228 | * This method always returns the same instance of the service. |
||
| 1229 | * |
||
| 1230 | * @return \Symfony\Component\PropertyAccess\PropertyAccessor A Symfony\Component\PropertyAccess\PropertyAccessor instance. |
||
| 1231 | */ |
||
| 1232 | protected function getPropertyAccessorService() |
||
| 1236 | |||
| 1237 | /** |
||
| 1238 | * Gets the 'request' service. |
||
| 1239 | * |
||
| 1240 | * This service is shared. |
||
| 1241 | * This method always returns the same instance of the service. |
||
| 1242 | * |
||
| 1243 | * @throws RuntimeException always since this service is expected to be injected dynamically |
||
| 1244 | * @throws InactiveScopeException when the 'request' service is requested while the 'request' scope is not active |
||
| 1245 | * @deprecated The "request" service is deprecated since Symfony 2.7 and will be removed in 3.0. Use the "request_stack" service instead. |
||
| 1246 | */ |
||
| 1247 | protected function getRequestService() |
||
| 1255 | |||
| 1256 | /** |
||
| 1257 | * Gets the 'request_stack' service. |
||
| 1258 | * |
||
| 1259 | * This service is shared. |
||
| 1260 | * This method always returns the same instance of the service. |
||
| 1261 | * |
||
| 1262 | * @return \Symfony\Component\HttpFoundation\RequestStack A Symfony\Component\HttpFoundation\RequestStack instance. |
||
| 1263 | */ |
||
| 1264 | protected function getRequestStackService() |
||
| 1268 | |||
| 1269 | /** |
||
| 1270 | * Gets the 'response_listener' service. |
||
| 1271 | * |
||
| 1272 | * This service is shared. |
||
| 1273 | * This method always returns the same instance of the service. |
||
| 1274 | * |
||
| 1275 | * @return \Symfony\Component\HttpKernel\EventListener\ResponseListener A Symfony\Component\HttpKernel\EventListener\ResponseListener instance. |
||
| 1276 | */ |
||
| 1277 | protected function getResponseListenerService() |
||
| 1281 | |||
| 1282 | /** |
||
| 1283 | * Gets the 'router' service. |
||
| 1284 | * |
||
| 1285 | * This service is shared. |
||
| 1286 | * This method always returns the same instance of the service. |
||
| 1287 | * |
||
| 1288 | * @return \Symfony\Bundle\FrameworkBundle\Routing\Router A Symfony\Bundle\FrameworkBundle\Routing\Router instance. |
||
| 1289 | */ |
||
| 1290 | protected function getRouterService() |
||
| 1298 | |||
| 1299 | /** |
||
| 1300 | * Gets the 'router_listener' service. |
||
| 1301 | * |
||
| 1302 | * This service is shared. |
||
| 1303 | * This method always returns the same instance of the service. |
||
| 1304 | * |
||
| 1305 | * @return \Symfony\Component\HttpKernel\EventListener\RouterListener A Symfony\Component\HttpKernel\EventListener\RouterListener instance. |
||
| 1306 | */ |
||
| 1307 | protected function getRouterListenerService() |
||
| 1311 | |||
| 1312 | /** |
||
| 1313 | * Gets the 'routing.loader' service. |
||
| 1314 | * |
||
| 1315 | * This service is shared. |
||
| 1316 | * This method always returns the same instance of the service. |
||
| 1317 | * |
||
| 1318 | * @return \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader A Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader instance. |
||
| 1319 | */ |
||
| 1320 | protected function getRouting_LoaderService() |
||
| 1333 | |||
| 1334 | /** |
||
| 1335 | * Gets the 'security.csrf.token_manager' service. |
||
| 1336 | * |
||
| 1337 | * This service is shared. |
||
| 1338 | * This method always returns the same instance of the service. |
||
| 1339 | * |
||
| 1340 | * @return \Symfony\Component\Security\Csrf\CsrfTokenManager A Symfony\Component\Security\Csrf\CsrfTokenManager instance. |
||
| 1341 | */ |
||
| 1342 | protected function getSecurity_Csrf_TokenManagerService() |
||
| 1346 | |||
| 1347 | /** |
||
| 1348 | * Gets the 'security.secure_random' service. |
||
| 1349 | * |
||
| 1350 | * This service is shared. |
||
| 1351 | * This method always returns the same instance of the service. |
||
| 1352 | * |
||
| 1353 | * @return \Symfony\Component\Security\Core\Util\SecureRandom A Symfony\Component\Security\Core\Util\SecureRandom instance. |
||
| 1354 | * |
||
| 1355 | * @deprecated The "security.secure_random" service is deprecated since Symfony 2.8 and will be removed in 3.0. Use the random_bytes() function instead. |
||
| 1356 | */ |
||
| 1357 | protected function getSecurity_SecureRandomService() |
||
| 1363 | |||
| 1364 | /** |
||
| 1365 | * Gets the 'service_container' service. |
||
| 1366 | * |
||
| 1367 | * This service is shared. |
||
| 1368 | * This method always returns the same instance of the service. |
||
| 1369 | * |
||
| 1370 | * @throws RuntimeException always since this service is expected to be injected dynamically |
||
| 1371 | */ |
||
| 1372 | protected function getServiceContainerService() |
||
| 1376 | |||
| 1377 | /** |
||
| 1378 | * Gets the 'session' service. |
||
| 1379 | * |
||
| 1380 | * This service is shared. |
||
| 1381 | * This method always returns the same instance of the service. |
||
| 1382 | * |
||
| 1383 | * @return \Symfony\Component\HttpFoundation\Session\Session A Symfony\Component\HttpFoundation\Session\Session instance. |
||
| 1384 | */ |
||
| 1385 | protected function getSessionService() |
||
| 1389 | |||
| 1390 | /** |
||
| 1391 | * Gets the 'session.handler' service. |
||
| 1392 | * |
||
| 1393 | * This service is shared. |
||
| 1394 | * This method always returns the same instance of the service. |
||
| 1395 | * |
||
| 1396 | * @return \Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler A Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler instance. |
||
| 1397 | */ |
||
| 1398 | protected function getSession_HandlerService() |
||
| 1402 | |||
| 1403 | /** |
||
| 1404 | * Gets the 'session.save_listener' service. |
||
| 1405 | * |
||
| 1406 | * This service is shared. |
||
| 1407 | * This method always returns the same instance of the service. |
||
| 1408 | * |
||
| 1409 | * @return \Symfony\Component\HttpKernel\EventListener\SaveSessionListener A Symfony\Component\HttpKernel\EventListener\SaveSessionListener instance. |
||
| 1410 | */ |
||
| 1411 | protected function getSession_SaveListenerService() |
||
| 1415 | |||
| 1416 | /** |
||
| 1417 | * Gets the 'session.storage.filesystem' service. |
||
| 1418 | * |
||
| 1419 | * This service is shared. |
||
| 1420 | * This method always returns the same instance of the service. |
||
| 1421 | * |
||
| 1422 | * @return \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage instance. |
||
| 1423 | */ |
||
| 1424 | protected function getSession_Storage_FilesystemService() |
||
| 1428 | |||
| 1429 | /** |
||
| 1430 | * Gets the 'session.storage.native' service. |
||
| 1431 | * |
||
| 1432 | * This service is shared. |
||
| 1433 | * This method always returns the same instance of the service. |
||
| 1434 | * |
||
| 1435 | * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage instance. |
||
| 1436 | */ |
||
| 1437 | protected function getSession_Storage_NativeService() |
||
| 1441 | |||
| 1442 | /** |
||
| 1443 | * Gets the 'session.storage.php_bridge' service. |
||
| 1444 | * |
||
| 1445 | * This service is shared. |
||
| 1446 | * This method always returns the same instance of the service. |
||
| 1447 | * |
||
| 1448 | * @return \Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage instance. |
||
| 1449 | */ |
||
| 1450 | protected function getSession_Storage_PhpBridgeService() |
||
| 1454 | |||
| 1455 | /** |
||
| 1456 | * Gets the 'session_listener' service. |
||
| 1457 | * |
||
| 1458 | * This service is shared. |
||
| 1459 | * This method always returns the same instance of the service. |
||
| 1460 | * |
||
| 1461 | * @return \Symfony\Bundle\FrameworkBundle\EventListener\SessionListener A Symfony\Bundle\FrameworkBundle\EventListener\SessionListener instance. |
||
| 1462 | */ |
||
| 1463 | protected function getSessionListenerService() |
||
| 1467 | |||
| 1468 | /** |
||
| 1469 | * Gets the 'streamed_response_listener' service. |
||
| 1470 | * |
||
| 1471 | * This service is shared. |
||
| 1472 | * This method always returns the same instance of the service. |
||
| 1473 | * |
||
| 1474 | * @return \Symfony\Component\HttpKernel\EventListener\StreamedResponseListener A Symfony\Component\HttpKernel\EventListener\StreamedResponseListener instance. |
||
| 1475 | */ |
||
| 1476 | protected function getStreamedResponseListenerService() |
||
| 1480 | |||
| 1481 | /** |
||
| 1482 | * Gets the 'templating' service. |
||
| 1483 | * |
||
| 1484 | * This service is shared. |
||
| 1485 | * This method always returns the same instance of the service. |
||
| 1486 | * |
||
| 1487 | * @return \Symfony\Bundle\TwigBundle\TwigEngine A Symfony\Bundle\TwigBundle\TwigEngine instance. |
||
| 1488 | */ |
||
| 1489 | protected function getTemplatingService() |
||
| 1493 | |||
| 1494 | /** |
||
| 1495 | * Gets the 'templating.filename_parser' service. |
||
| 1496 | * |
||
| 1497 | * This service is shared. |
||
| 1498 | * This method always returns the same instance of the service. |
||
| 1499 | * |
||
| 1500 | * @return \Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser A Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser instance. |
||
| 1501 | */ |
||
| 1502 | protected function getTemplating_FilenameParserService() |
||
| 1506 | |||
| 1507 | /** |
||
| 1508 | * Gets the 'templating.helper.assets' service. |
||
| 1509 | * |
||
| 1510 | * This service is shared. |
||
| 1511 | * This method always returns the same instance of the service. |
||
| 1512 | * |
||
| 1513 | * @return \Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper instance. |
||
| 1514 | */ |
||
| 1515 | protected function getTemplating_Helper_AssetsService() |
||
| 1519 | |||
| 1520 | /** |
||
| 1521 | * Gets the 'templating.helper.router' service. |
||
| 1522 | * |
||
| 1523 | * This service is shared. |
||
| 1524 | * This method always returns the same instance of the service. |
||
| 1525 | * |
||
| 1526 | * @return \Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper instance. |
||
| 1527 | */ |
||
| 1528 | protected function getTemplating_Helper_RouterService() |
||
| 1532 | |||
| 1533 | /** |
||
| 1534 | * Gets the 'templating.loader' service. |
||
| 1535 | * |
||
| 1536 | * This service is shared. |
||
| 1537 | * This method always returns the same instance of the service. |
||
| 1538 | * |
||
| 1539 | * @return \Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader A Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader instance. |
||
| 1540 | */ |
||
| 1541 | protected function getTemplating_LoaderService() |
||
| 1545 | |||
| 1546 | /** |
||
| 1547 | * Gets the 'templating.name_parser' service. |
||
| 1548 | * |
||
| 1549 | * This service is shared. |
||
| 1550 | * This method always returns the same instance of the service. |
||
| 1551 | * |
||
| 1552 | * @return \Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser A Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser instance. |
||
| 1553 | */ |
||
| 1554 | protected function getTemplating_NameParserService() |
||
| 1558 | |||
| 1559 | /** |
||
| 1560 | * Gets the 'test.client' service. |
||
| 1561 | * |
||
| 1562 | * @return \Symfony\Bundle\FrameworkBundle\Client A Symfony\Bundle\FrameworkBundle\Client instance. |
||
| 1563 | */ |
||
| 1564 | protected function getTest_ClientService() |
||
| 1568 | |||
| 1569 | /** |
||
| 1570 | * Gets the 'test.client.cookiejar' service. |
||
| 1571 | * |
||
| 1572 | * @return \Symfony\Component\BrowserKit\CookieJar A Symfony\Component\BrowserKit\CookieJar instance. |
||
| 1573 | */ |
||
| 1574 | protected function getTest_Client_CookiejarService() |
||
| 1578 | |||
| 1579 | /** |
||
| 1580 | * Gets the 'test.client.history' service. |
||
| 1581 | * |
||
| 1582 | * @return \Symfony\Component\BrowserKit\History A Symfony\Component\BrowserKit\History instance. |
||
| 1583 | */ |
||
| 1584 | protected function getTest_Client_HistoryService() |
||
| 1588 | |||
| 1589 | /** |
||
| 1590 | * Gets the 'test.session.listener' service. |
||
| 1591 | * |
||
| 1592 | * This service is shared. |
||
| 1593 | * This method always returns the same instance of the service. |
||
| 1594 | * |
||
| 1595 | * @return \Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener A Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener instance. |
||
| 1596 | */ |
||
| 1597 | protected function getTest_Session_ListenerService() |
||
| 1601 | |||
| 1602 | /** |
||
| 1603 | * Gets the 'translation.dumper.csv' service. |
||
| 1604 | * |
||
| 1605 | * This service is shared. |
||
| 1606 | * This method always returns the same instance of the service. |
||
| 1607 | * |
||
| 1608 | * @return \Symfony\Component\Translation\Dumper\CsvFileDumper A Symfony\Component\Translation\Dumper\CsvFileDumper instance. |
||
| 1609 | */ |
||
| 1610 | protected function getTranslation_Dumper_CsvService() |
||
| 1614 | |||
| 1615 | /** |
||
| 1616 | * Gets the 'translation.dumper.ini' service. |
||
| 1617 | * |
||
| 1618 | * This service is shared. |
||
| 1619 | * This method always returns the same instance of the service. |
||
| 1620 | * |
||
| 1621 | * @return \Symfony\Component\Translation\Dumper\IniFileDumper A Symfony\Component\Translation\Dumper\IniFileDumper instance. |
||
| 1622 | */ |
||
| 1623 | protected function getTranslation_Dumper_IniService() |
||
| 1627 | |||
| 1628 | /** |
||
| 1629 | * Gets the 'translation.dumper.json' service. |
||
| 1630 | * |
||
| 1631 | * This service is shared. |
||
| 1632 | * This method always returns the same instance of the service. |
||
| 1633 | * |
||
| 1634 | * @return \Symfony\Component\Translation\Dumper\JsonFileDumper A Symfony\Component\Translation\Dumper\JsonFileDumper instance. |
||
| 1635 | */ |
||
| 1636 | protected function getTranslation_Dumper_JsonService() |
||
| 1640 | |||
| 1641 | /** |
||
| 1642 | * Gets the 'translation.dumper.mo' service. |
||
| 1643 | * |
||
| 1644 | * This service is shared. |
||
| 1645 | * This method always returns the same instance of the service. |
||
| 1646 | * |
||
| 1647 | * @return \Symfony\Component\Translation\Dumper\MoFileDumper A Symfony\Component\Translation\Dumper\MoFileDumper instance. |
||
| 1648 | */ |
||
| 1649 | protected function getTranslation_Dumper_MoService() |
||
| 1653 | |||
| 1654 | /** |
||
| 1655 | * Gets the 'translation.dumper.php' service. |
||
| 1656 | * |
||
| 1657 | * This service is shared. |
||
| 1658 | * This method always returns the same instance of the service. |
||
| 1659 | * |
||
| 1660 | * @return \Symfony\Component\Translation\Dumper\PhpFileDumper A Symfony\Component\Translation\Dumper\PhpFileDumper instance. |
||
| 1661 | */ |
||
| 1662 | protected function getTranslation_Dumper_PhpService() |
||
| 1666 | |||
| 1667 | /** |
||
| 1668 | * Gets the 'translation.dumper.po' service. |
||
| 1669 | * |
||
| 1670 | * This service is shared. |
||
| 1671 | * This method always returns the same instance of the service. |
||
| 1672 | * |
||
| 1673 | * @return \Symfony\Component\Translation\Dumper\PoFileDumper A Symfony\Component\Translation\Dumper\PoFileDumper instance. |
||
| 1674 | */ |
||
| 1675 | protected function getTranslation_Dumper_PoService() |
||
| 1679 | |||
| 1680 | /** |
||
| 1681 | * Gets the 'translation.dumper.qt' service. |
||
| 1682 | * |
||
| 1683 | * This service is shared. |
||
| 1684 | * This method always returns the same instance of the service. |
||
| 1685 | * |
||
| 1686 | * @return \Symfony\Component\Translation\Dumper\QtFileDumper A Symfony\Component\Translation\Dumper\QtFileDumper instance. |
||
| 1687 | */ |
||
| 1688 | protected function getTranslation_Dumper_QtService() |
||
| 1692 | |||
| 1693 | /** |
||
| 1694 | * Gets the 'translation.dumper.res' service. |
||
| 1695 | * |
||
| 1696 | * This service is shared. |
||
| 1697 | * This method always returns the same instance of the service. |
||
| 1698 | * |
||
| 1699 | * @return \Symfony\Component\Translation\Dumper\IcuResFileDumper A Symfony\Component\Translation\Dumper\IcuResFileDumper instance. |
||
| 1700 | */ |
||
| 1701 | protected function getTranslation_Dumper_ResService() |
||
| 1705 | |||
| 1706 | /** |
||
| 1707 | * Gets the 'translation.dumper.xliff' service. |
||
| 1708 | * |
||
| 1709 | * This service is shared. |
||
| 1710 | * This method always returns the same instance of the service. |
||
| 1711 | * |
||
| 1712 | * @return \Symfony\Component\Translation\Dumper\XliffFileDumper A Symfony\Component\Translation\Dumper\XliffFileDumper instance. |
||
| 1713 | */ |
||
| 1714 | protected function getTranslation_Dumper_XliffService() |
||
| 1718 | |||
| 1719 | /** |
||
| 1720 | * Gets the 'translation.dumper.yml' service. |
||
| 1721 | * |
||
| 1722 | * This service is shared. |
||
| 1723 | * This method always returns the same instance of the service. |
||
| 1724 | * |
||
| 1725 | * @return \Symfony\Component\Translation\Dumper\YamlFileDumper A Symfony\Component\Translation\Dumper\YamlFileDumper instance. |
||
| 1726 | */ |
||
| 1727 | protected function getTranslation_Dumper_YmlService() |
||
| 1731 | |||
| 1732 | /** |
||
| 1733 | * Gets the 'translation.extractor' service. |
||
| 1734 | * |
||
| 1735 | * This service is shared. |
||
| 1736 | * This method always returns the same instance of the service. |
||
| 1737 | * |
||
| 1738 | * @return \Symfony\Component\Translation\Extractor\ChainExtractor A Symfony\Component\Translation\Extractor\ChainExtractor instance. |
||
| 1739 | */ |
||
| 1740 | protected function getTranslation_ExtractorService() |
||
| 1749 | |||
| 1750 | /** |
||
| 1751 | * Gets the 'translation.extractor.php' service. |
||
| 1752 | * |
||
| 1753 | * This service is shared. |
||
| 1754 | * This method always returns the same instance of the service. |
||
| 1755 | * |
||
| 1756 | * @return \Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor A Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor instance. |
||
| 1757 | */ |
||
| 1758 | protected function getTranslation_Extractor_PhpService() |
||
| 1762 | |||
| 1763 | /** |
||
| 1764 | * Gets the 'translation.loader' service. |
||
| 1765 | * |
||
| 1766 | * This service is shared. |
||
| 1767 | * This method always returns the same instance of the service. |
||
| 1768 | * |
||
| 1769 | * @return \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader A Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader instance. |
||
| 1770 | */ |
||
| 1771 | protected function getTranslation_LoaderService() |
||
| 1792 | |||
| 1793 | /** |
||
| 1794 | * Gets the 'translation.loader.csv' service. |
||
| 1795 | * |
||
| 1796 | * This service is shared. |
||
| 1797 | * This method always returns the same instance of the service. |
||
| 1798 | * |
||
| 1799 | * @return \Symfony\Component\Translation\Loader\CsvFileLoader A Symfony\Component\Translation\Loader\CsvFileLoader instance. |
||
| 1800 | */ |
||
| 1801 | protected function getTranslation_Loader_CsvService() |
||
| 1805 | |||
| 1806 | /** |
||
| 1807 | * Gets the 'translation.loader.dat' service. |
||
| 1808 | * |
||
| 1809 | * This service is shared. |
||
| 1810 | * This method always returns the same instance of the service. |
||
| 1811 | * |
||
| 1812 | * @return \Symfony\Component\Translation\Loader\IcuDatFileLoader A Symfony\Component\Translation\Loader\IcuDatFileLoader instance. |
||
| 1813 | */ |
||
| 1814 | protected function getTranslation_Loader_DatService() |
||
| 1818 | |||
| 1819 | /** |
||
| 1820 | * Gets the 'translation.loader.ini' service. |
||
| 1821 | * |
||
| 1822 | * This service is shared. |
||
| 1823 | * This method always returns the same instance of the service. |
||
| 1824 | * |
||
| 1825 | * @return \Symfony\Component\Translation\Loader\IniFileLoader A Symfony\Component\Translation\Loader\IniFileLoader instance. |
||
| 1826 | */ |
||
| 1827 | protected function getTranslation_Loader_IniService() |
||
| 1831 | |||
| 1832 | /** |
||
| 1833 | * Gets the 'translation.loader.json' service. |
||
| 1834 | * |
||
| 1835 | * This service is shared. |
||
| 1836 | * This method always returns the same instance of the service. |
||
| 1837 | * |
||
| 1838 | * @return \Symfony\Component\Translation\Loader\JsonFileLoader A Symfony\Component\Translation\Loader\JsonFileLoader instance. |
||
| 1839 | */ |
||
| 1840 | protected function getTranslation_Loader_JsonService() |
||
| 1844 | |||
| 1845 | /** |
||
| 1846 | * Gets the 'translation.loader.mo' service. |
||
| 1847 | * |
||
| 1848 | * This service is shared. |
||
| 1849 | * This method always returns the same instance of the service. |
||
| 1850 | * |
||
| 1851 | * @return \Symfony\Component\Translation\Loader\MoFileLoader A Symfony\Component\Translation\Loader\MoFileLoader instance. |
||
| 1852 | */ |
||
| 1853 | protected function getTranslation_Loader_MoService() |
||
| 1857 | |||
| 1858 | /** |
||
| 1859 | * Gets the 'translation.loader.php' service. |
||
| 1860 | * |
||
| 1861 | * This service is shared. |
||
| 1862 | * This method always returns the same instance of the service. |
||
| 1863 | * |
||
| 1864 | * @return \Symfony\Component\Translation\Loader\PhpFileLoader A Symfony\Component\Translation\Loader\PhpFileLoader instance. |
||
| 1865 | */ |
||
| 1866 | protected function getTranslation_Loader_PhpService() |
||
| 1870 | |||
| 1871 | /** |
||
| 1872 | * Gets the 'translation.loader.po' service. |
||
| 1873 | * |
||
| 1874 | * This service is shared. |
||
| 1875 | * This method always returns the same instance of the service. |
||
| 1876 | * |
||
| 1877 | * @return \Symfony\Component\Translation\Loader\PoFileLoader A Symfony\Component\Translation\Loader\PoFileLoader instance. |
||
| 1878 | */ |
||
| 1879 | protected function getTranslation_Loader_PoService() |
||
| 1883 | |||
| 1884 | /** |
||
| 1885 | * Gets the 'translation.loader.qt' service. |
||
| 1886 | * |
||
| 1887 | * This service is shared. |
||
| 1888 | * This method always returns the same instance of the service. |
||
| 1889 | * |
||
| 1890 | * @return \Symfony\Component\Translation\Loader\QtFileLoader A Symfony\Component\Translation\Loader\QtFileLoader instance. |
||
| 1891 | */ |
||
| 1892 | protected function getTranslation_Loader_QtService() |
||
| 1896 | |||
| 1897 | /** |
||
| 1898 | * Gets the 'translation.loader.res' service. |
||
| 1899 | * |
||
| 1900 | * This service is shared. |
||
| 1901 | * This method always returns the same instance of the service. |
||
| 1902 | * |
||
| 1903 | * @return \Symfony\Component\Translation\Loader\IcuResFileLoader A Symfony\Component\Translation\Loader\IcuResFileLoader instance. |
||
| 1904 | */ |
||
| 1905 | protected function getTranslation_Loader_ResService() |
||
| 1909 | |||
| 1910 | /** |
||
| 1911 | * Gets the 'translation.loader.xliff' service. |
||
| 1912 | * |
||
| 1913 | * This service is shared. |
||
| 1914 | * This method always returns the same instance of the service. |
||
| 1915 | * |
||
| 1916 | * @return \Symfony\Component\Translation\Loader\XliffFileLoader A Symfony\Component\Translation\Loader\XliffFileLoader instance. |
||
| 1917 | */ |
||
| 1918 | protected function getTranslation_Loader_XliffService() |
||
| 1922 | |||
| 1923 | /** |
||
| 1924 | * Gets the 'translation.loader.yml' service. |
||
| 1925 | * |
||
| 1926 | * This service is shared. |
||
| 1927 | * This method always returns the same instance of the service. |
||
| 1928 | * |
||
| 1929 | * @return \Symfony\Component\Translation\Loader\YamlFileLoader A Symfony\Component\Translation\Loader\YamlFileLoader instance. |
||
| 1930 | */ |
||
| 1931 | protected function getTranslation_Loader_YmlService() |
||
| 1935 | |||
| 1936 | /** |
||
| 1937 | * Gets the 'translation.writer' service. |
||
| 1938 | * |
||
| 1939 | * This service is shared. |
||
| 1940 | * This method always returns the same instance of the service. |
||
| 1941 | * |
||
| 1942 | * @return \Symfony\Component\Translation\Writer\TranslationWriter A Symfony\Component\Translation\Writer\TranslationWriter instance. |
||
| 1943 | */ |
||
| 1944 | protected function getTranslation_WriterService() |
||
| 1961 | |||
| 1962 | /** |
||
| 1963 | * Gets the 'translator' service. |
||
| 1964 | * |
||
| 1965 | * This service is shared. |
||
| 1966 | * This method always returns the same instance of the service. |
||
| 1967 | * |
||
| 1968 | * @return \Symfony\Component\Translation\IdentityTranslator A Symfony\Component\Translation\IdentityTranslator instance. |
||
| 1969 | */ |
||
| 1970 | protected function getTranslatorService() |
||
| 1974 | |||
| 1975 | /** |
||
| 1976 | * Gets the 'translator.default' service. |
||
| 1977 | * |
||
| 1978 | * This service is shared. |
||
| 1979 | * This method always returns the same instance of the service. |
||
| 1980 | * |
||
| 1981 | * @return \Symfony\Bundle\FrameworkBundle\Translation\Translator A Symfony\Bundle\FrameworkBundle\Translation\Translator instance. |
||
| 1982 | */ |
||
| 1983 | protected function getTranslator_DefaultService() |
||
| 1991 | |||
| 1992 | /** |
||
| 1993 | * Gets the 'translator_listener' service. |
||
| 1994 | * |
||
| 1995 | * This service is shared. |
||
| 1996 | * This method always returns the same instance of the service. |
||
| 1997 | * |
||
| 1998 | * @return \Symfony\Component\HttpKernel\EventListener\TranslatorListener A Symfony\Component\HttpKernel\EventListener\TranslatorListener instance. |
||
| 1999 | */ |
||
| 2000 | protected function getTranslatorListenerService() |
||
| 2004 | |||
| 2005 | /** |
||
| 2006 | * Gets the 'twig' service. |
||
| 2007 | * |
||
| 2008 | * This service is shared. |
||
| 2009 | * This method always returns the same instance of the service. |
||
| 2010 | * |
||
| 2011 | * @return \Twig_Environment A Twig_Environment instance. |
||
| 2012 | */ |
||
| 2013 | protected function getTwigService() |
||
| 2050 | |||
| 2051 | /** |
||
| 2052 | * Gets the 'twig.controller.exception' service. |
||
| 2053 | * |
||
| 2054 | * This service is shared. |
||
| 2055 | * This method always returns the same instance of the service. |
||
| 2056 | * |
||
| 2057 | * @return \Symfony\Bundle\TwigBundle\Controller\ExceptionController A Symfony\Bundle\TwigBundle\Controller\ExceptionController instance. |
||
| 2058 | */ |
||
| 2059 | protected function getTwig_Controller_ExceptionService() |
||
| 2063 | |||
| 2064 | /** |
||
| 2065 | * Gets the 'twig.controller.preview_error' service. |
||
| 2066 | * |
||
| 2067 | * This service is shared. |
||
| 2068 | * This method always returns the same instance of the service. |
||
| 2069 | * |
||
| 2070 | * @return \Symfony\Bundle\TwigBundle\Controller\PreviewErrorController A Symfony\Bundle\TwigBundle\Controller\PreviewErrorController instance. |
||
| 2071 | */ |
||
| 2072 | protected function getTwig_Controller_PreviewErrorService() |
||
| 2076 | |||
| 2077 | /** |
||
| 2078 | * Gets the 'twig.exception_listener' service. |
||
| 2079 | * |
||
| 2080 | * This service is shared. |
||
| 2081 | * This method always returns the same instance of the service. |
||
| 2082 | * |
||
| 2083 | * @return \Symfony\Component\HttpKernel\EventListener\ExceptionListener A Symfony\Component\HttpKernel\EventListener\ExceptionListener instance. |
||
| 2084 | */ |
||
| 2085 | protected function getTwig_ExceptionListenerService() |
||
| 2089 | |||
| 2090 | /** |
||
| 2091 | * Gets the 'twig.loader' service. |
||
| 2092 | * |
||
| 2093 | * This service is shared. |
||
| 2094 | * This method always returns the same instance of the service. |
||
| 2095 | * |
||
| 2096 | * @return \Symfony\Bundle\TwigBundle\Loader\FilesystemLoader A Symfony\Bundle\TwigBundle\Loader\FilesystemLoader instance. |
||
| 2097 | */ |
||
| 2098 | protected function getTwig_LoaderService() |
||
| 2109 | |||
| 2110 | /** |
||
| 2111 | * Gets the 'twig.profile' service. |
||
| 2112 | * |
||
| 2113 | * This service is shared. |
||
| 2114 | * This method always returns the same instance of the service. |
||
| 2115 | * |
||
| 2116 | * @return \Twig_Profiler_Profile A Twig_Profiler_Profile instance. |
||
| 2117 | */ |
||
| 2118 | protected function getTwig_ProfileService() |
||
| 2122 | |||
| 2123 | /** |
||
| 2124 | * Gets the 'twig.translation.extractor' service. |
||
| 2125 | * |
||
| 2126 | * This service is shared. |
||
| 2127 | * This method always returns the same instance of the service. |
||
| 2128 | * |
||
| 2129 | * @return \Symfony\Bridge\Twig\Translation\TwigExtractor A Symfony\Bridge\Twig\Translation\TwigExtractor instance. |
||
| 2130 | */ |
||
| 2131 | protected function getTwig_Translation_ExtractorService() |
||
| 2135 | |||
| 2136 | /** |
||
| 2137 | * Gets the 'uri_signer' service. |
||
| 2138 | * |
||
| 2139 | * This service is shared. |
||
| 2140 | * This method always returns the same instance of the service. |
||
| 2141 | * |
||
| 2142 | * @return \Symfony\Component\HttpKernel\UriSigner A Symfony\Component\HttpKernel\UriSigner instance. |
||
| 2143 | */ |
||
| 2144 | protected function getUriSignerService() |
||
| 2148 | |||
| 2149 | /** |
||
| 2150 | * Gets the 'validator' service. |
||
| 2151 | * |
||
| 2152 | * This service is shared. |
||
| 2153 | * This method always returns the same instance of the service. |
||
| 2154 | * |
||
| 2155 | * @return \Symfony\Component\Validator\Validator\ValidatorInterface A Symfony\Component\Validator\Validator\ValidatorInterface instance. |
||
| 2156 | */ |
||
| 2157 | protected function getValidatorService() |
||
| 2161 | |||
| 2162 | /** |
||
| 2163 | * Gets the 'validator.builder' service. |
||
| 2164 | * |
||
| 2165 | * This service is shared. |
||
| 2166 | * This method always returns the same instance of the service. |
||
| 2167 | * |
||
| 2168 | * @return \Symfony\Component\Validator\ValidatorBuilderInterface A Symfony\Component\Validator\ValidatorBuilderInterface instance. |
||
| 2169 | */ |
||
| 2170 | protected function getValidator_BuilderService() |
||
| 2184 | |||
| 2185 | /** |
||
| 2186 | * Gets the 'validator.email' service. |
||
| 2187 | * |
||
| 2188 | * This service is shared. |
||
| 2189 | * This method always returns the same instance of the service. |
||
| 2190 | * |
||
| 2191 | * @return \Symfony\Component\Validator\Constraints\EmailValidator A Symfony\Component\Validator\Constraints\EmailValidator instance. |
||
| 2192 | */ |
||
| 2193 | protected function getValidator_EmailService() |
||
| 2197 | |||
| 2198 | /** |
||
| 2199 | * Gets the 'validator.expression' service. |
||
| 2200 | * |
||
| 2201 | * This service is shared. |
||
| 2202 | * This method always returns the same instance of the service. |
||
| 2203 | * |
||
| 2204 | * @return \Symfony\Component\Validator\Constraints\ExpressionValidator A Symfony\Component\Validator\Constraints\ExpressionValidator instance. |
||
| 2205 | */ |
||
| 2206 | protected function getValidator_ExpressionService() |
||
| 2210 | |||
| 2211 | /** |
||
| 2212 | * Gets the 'controller_name_converter' service. |
||
| 2213 | * |
||
| 2214 | * This service is shared. |
||
| 2215 | * This method always returns the same instance of the service. |
||
| 2216 | * |
||
| 2217 | * This service is private. |
||
| 2218 | * If you want to be able to request this service from the container directly, |
||
| 2219 | * make it public, otherwise you might end up with broken code. |
||
| 2220 | * |
||
| 2221 | * @return \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser A Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser instance. |
||
| 2222 | */ |
||
| 2223 | protected function getControllerNameConverterService() |
||
| 2227 | |||
| 2228 | /** |
||
| 2229 | * Gets the 'router.request_context' service. |
||
| 2230 | * |
||
| 2231 | * This service is shared. |
||
| 2232 | * This method always returns the same instance of the service. |
||
| 2233 | * |
||
| 2234 | * This service is private. |
||
| 2235 | * If you want to be able to request this service from the container directly, |
||
| 2236 | * make it public, otherwise you might end up with broken code. |
||
| 2237 | * |
||
| 2238 | * @return \Symfony\Component\Routing\RequestContext A Symfony\Component\Routing\RequestContext instance. |
||
| 2239 | */ |
||
| 2240 | protected function getRouter_RequestContextService() |
||
| 2244 | |||
| 2245 | /** |
||
| 2246 | * Gets the 'session.storage.metadata_bag' service. |
||
| 2247 | * |
||
| 2248 | * This service is shared. |
||
| 2249 | * This method always returns the same instance of the service. |
||
| 2250 | * |
||
| 2251 | * This service is private. |
||
| 2252 | * If you want to be able to request this service from the container directly, |
||
| 2253 | * make it public, otherwise you might end up with broken code. |
||
| 2254 | * |
||
| 2255 | * @return \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag A Symfony\Component\HttpFoundation\Session\Storage\MetadataBag instance. |
||
| 2256 | */ |
||
| 2257 | protected function getSession_Storage_MetadataBagService() |
||
| 2261 | |||
| 2262 | /** |
||
| 2263 | * Gets the 'templating.locator' service. |
||
| 2264 | * |
||
| 2265 | * This service is shared. |
||
| 2266 | * This method always returns the same instance of the service. |
||
| 2267 | * |
||
| 2268 | * This service is private. |
||
| 2269 | * If you want to be able to request this service from the container directly, |
||
| 2270 | * make it public, otherwise you might end up with broken code. |
||
| 2271 | * |
||
| 2272 | * @return \Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator A Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator instance. |
||
| 2273 | */ |
||
| 2274 | protected function getTemplating_LocatorService() |
||
| 2278 | |||
| 2279 | /** |
||
| 2280 | * Gets the 'translator.selector' service. |
||
| 2281 | * |
||
| 2282 | * This service is shared. |
||
| 2283 | * This method always returns the same instance of the service. |
||
| 2284 | * |
||
| 2285 | * This service is private. |
||
| 2286 | * If you want to be able to request this service from the container directly, |
||
| 2287 | * make it public, otherwise you might end up with broken code. |
||
| 2288 | * |
||
| 2289 | * @return \Symfony\Component\Translation\MessageSelector A Symfony\Component\Translation\MessageSelector instance. |
||
| 2290 | */ |
||
| 2291 | protected function getTranslator_SelectorService() |
||
| 2295 | |||
| 2296 | /** |
||
| 2297 | * {@inheritdoc} |
||
| 2298 | */ |
||
| 2299 | public function getParameter($name) |
||
| 2309 | |||
| 2310 | /** |
||
| 2311 | * {@inheritdoc} |
||
| 2312 | */ |
||
| 2313 | public function hasParameter($name) |
||
| 2319 | |||
| 2320 | /** |
||
| 2321 | * {@inheritdoc} |
||
| 2322 | */ |
||
| 2323 | public function setParameter($name, $value) |
||
| 2327 | |||
| 2328 | /** |
||
| 2329 | * {@inheritdoc} |
||
| 2330 | */ |
||
| 2331 | public function getParameterBag() |
||
| 2339 | |||
| 2340 | /** |
||
| 2341 | * Gets the default parameters. |
||
| 2342 | * |
||
| 2343 | * @return array An array of the default parameters |
||
| 2344 | */ |
||
| 2345 | protected function getDefaultParameters() |
||
| 2595 | } |
||
| 2596 |
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: