public function addFolder($path, $name = null)
    {
        $folders = is_string($name) ? [$name => $path] : [$path];
        $this->finder()->in($folders);

        return $this;
    }
public function addFolder($path, $name = null)
    {
        $folders = is_string($name) ? [$name => $path] : [$path];
        $this->finder()->in($folders);

        return $this;
    }
public function addFolder ( $ path , $ name = null ) { $ folders = is_string ( $ name ) ? [ $ name => $ path ] : [ $ path ] ; $ this -> finder ( ) -> in ( $ folders ) ; return $ this ; }
Add a template folder. Is possible to give a name to the folder to be able to specifically
call templates from there.

@param  string       $path
@param  string|void  $name
@return \Foil\Engine Itself for fluent interface
Add a template folder . Is possible to give a name to the folder to be able to specifically call templates from there .