public function getAvailableOverrides()
    {
        $path   = $this->getPath();
        $suffix = $this->getSuffix();

        $glob   = "{$path}/*{$suffix}";
        $result = [];
        foreach (glob($glob) as $file) {
            $identifier          = basename($file, $suffix);
            $result[$identifier] = $file;
        }

        return $result;
    }
public function getAvailableOverrides()
    {
        $path   = $this->getPath();
        $suffix = $this->getSuffix();

        $glob   = "{$path}/*{$suffix}";
        $result = [];
        foreach (glob($glob) as $file) {
            $identifier          = basename($file, $suffix);
            $result[$identifier] = $file;
        }

        return $result;
    }
public function getAvailableOverrides ( ) { $ path = $ this -> getPath ( ) ; $ suffix = $ this -> getSuffix ( ) ; $ glob = "{$path}/*{$suffix}" ; $ result = [ ] ; foreach ( glob ( $ glob ) as $ file ) { $ identifier = basename ( $ file , $ suffix ) ; $ result [ $ identifier ] = $ file ; } return $ result ; }
Returns a list of all available overrides.

Format: [$identifier => $file].

@return array
Returns a list of all available overrides .