Ejemplo n.º 1
0
 /**
  * Ctor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->configureOptions($this->resolver);
     $this->set($this->options);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function setupOptionsResolver(array $options)
 {
     $resolver = new OptionsResolver();
     $this->configureOptions($resolver);
     $this->options = $resolver->resolve($options);
     BaseOptions::callingSettersWithOptions($this->options, $this);
     return $this;
 }