public function addLoader(string $filter, LoaderInterface $loader): void
    {
        $this->loaders[$filter] = $loader;
    }
public function addLoader(string $filter, LoaderInterface $loader): void
    {
        $this->loaders[$filter] = $loader;
    }
public function addLoader ( string $ filter , LoaderInterface $ loader ) : void { $ this -> loaders [ $ filter ] = $ loader ; }
Adds a loader to handle the given filter.

@param string          $filter
@param LoaderInterface $loader
Adds a loader to handle the given filter .