src/View/ThemeManifest.php
public function handleDirectory($basename, $pathname, $depth)
    {
        if ($basename !== self::TEMPLATES_DIR) {
            return;
        }
        $dir = trim(substr(dirname($pathname), strlen($this->base)), '/\\');
        $this->themes[] = "/" . $dir;
    }
public function handleDirectory($basename, $pathname, $depth)
    {
        if ($basename !== self::TEMPLATES_DIR) {
            return;
        }
        $dir = trim(substr(dirname($pathname), strlen($this->base)), '/\\');
        $this->themes[] = "/" . $dir;
    }
public function handleDirectory ( $ basename , $ pathname , $ depth ) { if ( $ basename !== self :: TEMPLATES_DIR ) { return ; } $ dir = trim ( substr ( dirname ( $ pathname ) , strlen ( $ this -> base ) ) , '/\\' ) ; $ this -> themes [ ] = "/" . $ dir ; }
Add a directory to the manifest

@param string $basename
@param string $pathname
@param int $depth
Add a directory to the manifest