public function fromNamespace($fqnn)
    {
        $name = str_replace('\\', '.', ltrim((string) $fqnn, '\\'));

        // convert root namespace to default; default is a keyword and no namespace CAN be named as such
        if ($name === '') {
            $name = 'default';
        }

        return $name;
    }
public function fromNamespace($fqnn)
    {
        $name = str_replace('\\', '.', ltrim((string) $fqnn, '\\'));

        // convert root namespace to default; default is a keyword and no namespace CAN be named as such
        if ($name === '') {
            $name = 'default';
        }

        return $name;
    }
public function fromNamespace ( $ fqnn ) { $ name = str_replace ( '\\' , '.' , ltrim ( ( string ) $ fqnn , '\\' ) ) ; // convert root namespace to default; default is a keyword and no namespace CAN be named as such if ( $ name === '' ) { $ name = 'default' ; } return $ name ; }
Converts the provided FQCN into a file name by replacing all slashes with dots.

@param string $fqnn

@return string
Converts the provided FQCN into a file name by replacing all slashes with dots .