lib/FSi/Component/Metadata/Driver/DriverChain.php
public function addDriver(DriverInterface $driver, $namespace) {
        if (!isset($this->drivers[$namespace]))
            $this->drivers[$namespace] = array();
        $this->drivers[$namespace][] = $driver;
        return $this;
    }
public function addDriver(DriverInterface $driver, $namespace) {
        if (!isset($this->drivers[$namespace]))
            $this->drivers[$namespace] = array();
        $this->drivers[$namespace][] = $driver;
        return $this;
    }
public function addDriver ( DriverInterface $ driver , $ namespace ) { if ( ! isset ( $ this -> drivers [ $ namespace ] ) ) $ this -> drivers [ $ namespace ] = array ( ) ; $ this -> drivers [ $ namespace ] [ ] = $ driver ; return $ this ; }
Add new driver to the chain

@param \FSi\Component\Metadata\Driver\DriverInterface $driver
@param string $namespace
@return \FSi\Component\Metadata\Driver\DriverChain
Add new driver to the chain