[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/dependency-injection/Loader/Configurator/ -> InstanceofConfigurator.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <fabien@symfony.com>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  namespace Symfony\Component\DependencyInjection\Loader\Configurator;
  13  
  14  /**
  15   * @author Nicolas Grekas <p@tchwork.com>
  16   *
  17   * @method InstanceofConfigurator instanceof(string $fqcn)
  18   */
  19  class InstanceofConfigurator extends AbstractServiceConfigurator
  20  {
  21      const FACTORY = 'instanceof';
  22  
  23      use Traits\AutowireTrait;
  24      use Traits\CallTrait;
  25      use Traits\ConfiguratorTrait;
  26      use Traits\LazyTrait;
  27      use Traits\PropertyTrait;
  28      use Traits\PublicTrait;
  29      use Traits\ShareTrait;
  30      use Traits\TagTrait;
  31  
  32      /**
  33       * Defines an instanceof-conditional to be applied to following service definitions.
  34       *
  35       * @param string $fqcn
  36       *
  37       * @return self
  38       */
  39      final protected function setInstanceof($fqcn)
  40      {
  41          return $this->parent->instanceof($fqcn);
  42      }
  43  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1