src/Core/Application.php
protected function getNestedDirectory(SplFileInfo $file, $path)
    {
        $directory = $file->getPath();

        if ($nested = trim(str_replace($path, '', $directory), DIRECTORY_SEPARATOR)) {
            $nested = str_replace(DIRECTORY_SEPARATOR, '.', $nested).'.';
        }

        return $nested;
    }
protected function getNestedDirectory(SplFileInfo $file, $path)
    {
        $directory = $file->getPath();

        if ($nested = trim(str_replace($path, '', $directory), DIRECTORY_SEPARATOR)) {
            $nested = str_replace(DIRECTORY_SEPARATOR, '.', $nested).'.';
        }

        return $nested;
    }
protected function getNestedDirectory ( SplFileInfo $ file , $ path ) { $ directory = $ file -> getPath ( ) ; if ( $ nested = trim ( str_replace ( $ path , '' , $ directory ) , DIRECTORY_SEPARATOR ) ) { $ nested = str_replace ( DIRECTORY_SEPARATOR , '.' , $ nested ) . '.' ; } return $ nested ; }
Get configuration file nesting path.

@param SplFileInfo $file
@param string      $path

@return string
Get configuration file nesting path .