__construct() public method

public __construct ( )
Ejemplo n.º 1
0
 /**
  * @param \Drupal\Core\Controller\ControllerResolverInterface $controllerResolver
  */
 public function __construct(ControllerResolverInterface $controllerResolver)
 {
     parent::__construct();
     $this->controllerResolver = $controllerResolver;
     $this->accessCheck = [];
 }
 /**
  * @param AnnotationReader    $annotationReader annotationReader
  * @param ObfuscatorInterface $obfuscator       obfuscator
  */
 public function __construct(AnnotationReader $annotationReader, ObfuscatorInterface $obfuscator)
 {
     $this->annotationReader = $annotationReader;
     $this->obfuscator = $obfuscator;
     parent::__construct();
 }