public function __construct($class, $from, $to) { parent::__construct(); $this->setToken('Class', $class); $this->setToken('From', $from); $this->setToken('To', $to); }