parser = $p; } /** * An array of types (As returned by gettype) for all data this plugin can operate on. * * @return array List of types */ public function getTypes() { return []; } public function getTriggers() { return Parser::TRIGGER_NONE; } abstract public function parse(&$var, Value &$o, $trigger); }