public function getEngineFromPath($path)
    {
        $extension = $this->getExtension($path);

        $engine = $this->extensions[$extension];

        return $this->engines->resolve($engine);
    }
public function getEngineFromPath($path)
    {
        $extension = $this->getExtension($path);

        $engine = $this->extensions[$extension];

        return $this->engines->resolve($engine);
    }
public function getEngineFromPath ( $ path ) { $ extension = $ this -> getExtension ( $ path ) ; $ engine = $ this -> extensions [ $ extension ] ; return $ this -> engines -> resolve ( $ engine ) ; }
Get the appropriate View Engine for the given path.

@param  string  $path
@return \Nova\View\Engines\EngineInterface
Get the appropriate View Engine for the given path .