public function get($name)
    {
        if (isset($this->factories[$name])) {
            return $this->factories[$name];
        }

        throw JobFactoryException::create(sprintf('Not found %s job factory', $name));
    }
public function get($name)
    {
        if (isset($this->factories[$name])) {
            return $this->factories[$name];
        }

        throw JobFactoryException::create(sprintf('Not found %s job factory', $name));
    }
public function get ( $ name ) { if ( isset ( $ this -> factories [ $ name ] ) ) { return $ this -> factories [ $ name ] ; } throw JobFactoryException :: create ( sprintf ( 'Not found %s job factory' , $ name ) ) ; }
Get factory.

@param string $name

@return JobFactoryInterface

@throws JobFactoryException
Get factory .