public function getFactory($name)
    {
        if (!isset($this->factories[$name])) {
            throw new \RuntimeException(sprintf('No factory registered with name "%s"', $name));
        }

        return $this->factories[$name];
    }
public function getFactory($name)
    {
        if (!isset($this->factories[$name])) {
            throw new \RuntimeException(sprintf('No factory registered with name "%s"', $name));
        }

        return $this->factories[$name];
    }
public function getFactory ( $ name ) { if ( ! isset ( $ this -> factories [ $ name ] ) ) { throw new \ RuntimeException ( sprintf ( 'No factory registered with name "%s"' , $ name ) ) ; } return $ this -> factories [ $ name ] ; }
Get a factory by name

@param string $name

@throws \RuntimeException
@return PdfFactoryInterface
Get a factory by name