$options parameters for parsing * * @return mixed * * @throws Exception not implemented yet. */ public static function parse( Parser $parser, TokensList $list, array $options = [] ) { // This method should be abstract, but it can't be both static and // abstract. throw new Exception(Translator::gettext('Not implemented yet.')); } /** * Builds the string representation of a component of this type. * * In other words, this function represents the inverse function of * `static::parse`. * * @param mixed $component the component to be built * @param array $options parameters for building * * @return mixed * * @throws Exception not implemented yet. */ public static function build($component, array $options = []) { // This method should be abstract, but it can't be both static and // abstract. throw new Exception(Translator::gettext('Not implemented yet.')); } /** * Builds the string representation of a component of this type. * * @see static::build * * @return string */ public function __toString() { return static::build($this); } }