public function getLoader($filename)
    {
        foreach ($this->loaders as $loader) {
            if ($loader->supports($filename)) {
                return $loader;
            }
        }

        throw new UnsupportedSchemaFileException($filename);
    }
public function getLoader($filename)
    {
        foreach ($this->loaders as $loader) {
            if ($loader->supports($filename)) {
                return $loader;
            }
        }

        throw new UnsupportedSchemaFileException($filename);
    }
public function getLoader ( $ filename ) { foreach ( $ this -> loaders as $ loader ) { if ( $ loader -> supports ( $ filename ) ) { return $ loader ; } } throw new UnsupportedSchemaFileException ( $ filename ) ; }
Returns loader for specified file.

@param  string $filename
@return Schema
Returns loader for specified file .