private function getClassOptions($sClassName, array $aDirectoryOptions, array $aDefaultOptions = [])
    {
        $aOptions = $aDefaultOptions;
        if(key_exists('separator', $aDirectoryOptions))
        {
            $aOptions['separator'] = $aDirectoryOptions['separator'];
        }
        if(key_exists('protected', $aDirectoryOptions))
        {
            $aOptions['protected'] = $aDirectoryOptions['protected'];
        }
        if(key_exists('*', $aDirectoryOptions))
        {
            $aOptions = array_merge($aOptions, $aDirectoryOptions['*']);
        }
        if(key_exists($sClassName, $aDirectoryOptions))
        {
            $aOptions = array_merge($aOptions, $aDirectoryOptions[$sClassName]);
        }

        return $aOptions;
    }
private function getClassOptions($sClassName, array $aDirectoryOptions, array $aDefaultOptions = [])
    {
        $aOptions = $aDefaultOptions;
        if(key_exists('separator', $aDirectoryOptions))
        {
            $aOptions['separator'] = $aDirectoryOptions['separator'];
        }
        if(key_exists('protected', $aDirectoryOptions))
        {
            $aOptions['protected'] = $aDirectoryOptions['protected'];
        }
        if(key_exists('*', $aDirectoryOptions))
        {
            $aOptions = array_merge($aOptions, $aDirectoryOptions['*']);
        }
        if(key_exists($sClassName, $aDirectoryOptions))
        {
            $aOptions = array_merge($aOptions, $aDirectoryOptions[$sClassName]);
        }

        return $aOptions;
    }
private function getClassOptions ( $ sClassName , array $ aDirectoryOptions , array $ aDefaultOptions = [ ] ) { $ aOptions = $ aDefaultOptions ; if ( key_exists ( 'separator' , $ aDirectoryOptions ) ) { $ aOptions [ 'separator' ] = $ aDirectoryOptions [ 'separator' ] ; } if ( key_exists ( 'protected' , $ aDirectoryOptions ) ) { $ aOptions [ 'protected' ] = $ aDirectoryOptions [ 'protected' ] ; } if ( key_exists ( '*' , $ aDirectoryOptions ) ) { $ aOptions = array_merge ( $ aOptions , $ aDirectoryOptions [ '*' ] ) ; } if ( key_exists ( $ sClassName , $ aDirectoryOptions ) ) { $ aOptions = array_merge ( $ aOptions , $ aDirectoryOptions [ $ sClassName ] ) ; } return $ aOptions ; }
Get a given class options from specified directory options

@param string        $sClassName         The name of the class
@param array         $aDirectoryOptions  The directory options
@param array         $aDefaultOptions    The default options

@return array
Get a given class options from specified directory options