public function addLoader(Loader $loader)
    {
        $loader->setLocator($this->locator);

        $this->resolver->addLoader($loader);
    }
public function addLoader(Loader $loader)
    {
        $loader->setLocator($this->locator);

        $this->resolver->addLoader($loader);
    }
public function addLoader ( Loader $ loader ) { $ loader -> setLocator ( $ this -> locator ) ; $ this -> resolver -> addLoader ( $ loader ) ; }
Adds the loader.

@param Loader $loader The loader.
Adds the loader .