public function addPlugin(string $alias, callable $callback, bool $isPair = false)
	{
		$this->plugins[$alias] = $isPair ? [$callback] : $callback;

		return $this;
	}
public function addPlugin(string $alias, callable $callback, bool $isPair = false)
	{
		$this->plugins[$alias] = $isPair ? [$callback] : $callback;

		return $this;
	}
public function addPlugin ( string $ alias , callable $ callback , bool $ isPair = false ) { $ this -> plugins [ $ alias ] = $ isPair ? [ $ callback ] : $ callback ; return $ this ; }
Makes a new plugin available during the parsing of the template.

@param string   $alias
@param callable $callback

@param boolean  $isPair

@return $this
Makes a new plugin available during the parsing of the template .