public function handleDirectory($basename, $pathname, $depth)
    {
        if ($basename !== self::TEMPLATES_DIR) {
            return;
        }
        $dir = trim(substr(dirname($pathname), strlen($this->base)), '/\\');
        $this->themes[] = "/" . $dir;
    }