src/Core/Manifest/ManifestFileFinder.php
public function isInsideThemes($basename, $pathname, $depth)
    {
        $base = basename($this->upLevels($pathname, $depth - 1));
        return $base === THEMES_DIR;
    }
public function isInsideThemes($basename, $pathname, $depth)
    {
        $base = basename($this->upLevels($pathname, $depth - 1));
        return $base === THEMES_DIR;
    }
public function isInsideThemes ( $ basename , $ pathname , $ depth ) { $ base = basename ( $ this -> upLevels ( $ pathname , $ depth - 1 ) ) ; return $ base === THEMES_DIR ; }
Check if the given dir is, or is inside the themes folder

@param string $basename
@param string $pathname
@param int $depth
@return bool
Check if the given dir is or is inside the themes folder