public function getPaths() : array
    {
        $templatePaths = [];

        $paths = $this->template->getFinder()->getPaths();
        $hints = $this->template->getFinder()->getHints();

        foreach ($paths as $path) {
            $templatePaths[] = new TemplatePath($path);
        }

        foreach ($hints as $namespace => $path) {
            $templatePaths[] = new TemplatePath($namespace, $path);
        }

        return $templatePaths;
    }
public function getPaths() : array
    {
        $templatePaths = [];

        $paths = $this->template->getFinder()->getPaths();
        $hints = $this->template->getFinder()->getHints();

        foreach ($paths as $path) {
            $templatePaths[] = new TemplatePath($path);
        }

        foreach ($hints as $namespace => $path) {
            $templatePaths[] = new TemplatePath($namespace, $path);
        }

        return $templatePaths;
    }
public function getPaths ( ) : array { $ templatePaths = [ ] ; $ paths = $ this -> template -> getFinder ( ) -> getPaths ( ) ; $ hints = $ this -> template -> getFinder ( ) -> getHints ( ) ; foreach ( $ paths as $ path ) { $ templatePaths [ ] = new TemplatePath ( $ path ) ; } foreach ( $ hints as $ namespace => $ path ) { $ templatePaths [ ] = new TemplatePath ( $ namespace , $ path ) ; } return $ templatePaths ; }
Get the template directories

@return TemplatePath[]
Get the template directories