Example #1
0
 public function __construct(LoopInterface $loop, Resolver $resolver, array $contextOptions = null)
 {
     parent::__construct($loop, $resolver);
     $contextOptions = null === $contextOptions ? array() : $contextOptions;
     $this->contextOptions = $contextOptions;
 }
Example #2
0
 public function __construct(LoopInterface $loop, Resolver $resolver)
 {
     $this->loop = $loop;
     $this->resolver = $resolver;
     parent::__construct($loop, $resolver);
 }
Example #3
0
 public function __construct(LoopInterface $loop, Resolver $resolver = null)
 {
     parent::__construct($loop, $resolver);
 }