src/MVC/Module/Module.php
public function registerTemplatesPathTwig(MVC $mvc)
    {
        $viewsPath = $this->getPath() . '/Resources/views';
        if (file_exists(dirname($viewsPath)) && file_exists($viewsPath)) {
            $mvc->getCvpp('twig.loader.filesystem')->addPath($viewsPath);
        }
    }
public function registerTemplatesPathTwig(MVC $mvc)
    {
        $viewsPath = $this->getPath() . '/Resources/views';
        if (file_exists(dirname($viewsPath)) && file_exists($viewsPath)) {
            $mvc->getCvpp('twig.loader.filesystem')->addPath($viewsPath);
        }
    }
public function registerTemplatesPathTwig ( MVC $ mvc ) { $ viewsPath = $ this -> getPath ( ) . '/Resources/views' ; if ( file_exists ( dirname ( $ viewsPath ) ) && file_exists ( $ viewsPath ) ) { $ mvc -> getCvpp ( 'twig.loader.filesystem' ) -> addPath ( $ viewsPath ) ; } }
Register Templates Path Twig

@param MVC $mvc
Register Templates Path Twig