Beispiel #1
0
 public function __construct($token, array $options = array())
 {
     parent::__construct($token);
     $this->options = $options + $this->options;
     // normalize var name e.g. from 'term:1' becomes 'term'
     $name = $token;
     if ($options['modifier'] === ':') {
         $name = substr($name, 0, strpos($name, $options['modifier']));
     }
     $this->name = $name;
 }
 public function __construct(Implementor $implemnentor)
 {
     parent::__construct($implemnentor);
 }