/** * Fire the plugin. * * @param Plugin $plugin * * @return mixed */ private function firePlugin(Plugin $plugin) { return $plugin->handle(); }
/** * Construct. * * @param string $text * @param Node $node * @param array $tokens * @param array $words */ public function __construct($text, $node, $tokens, $words) { // Construct what you need or delete this parent::__construct($text, $node, $tokens, $words); }
/** * Construct. * * @param string $text * @param Node $node * @param array $tokens * @param array $words */ public function __construct($text, $node, $tokens, $words) { parent::__construct($text, $node, $tokens, $words); $this->setTags(); }