protected function createObject($abstract=null, array $parameters=[])
    {

        $abstract = $this->factoryAbstract($abstract);

        if (!$this->_customFactory) {
            return $this->createWithoutFactory($abstract, $parameters);
        }

        return Lambda::callFast($this->_customFactory, [$abstract, $parameters]);
    }
protected function createObject($abstract=null, array $parameters=[])
    {

        $abstract = $this->factoryAbstract($abstract);

        if (!$this->_customFactory) {
            return $this->createWithoutFactory($abstract, $parameters);
        }

        return Lambda::callFast($this->_customFactory, [$abstract, $parameters]);
    }
protected function createObject ( $ abstract = null , array $ parameters = [ ] ) { $ abstract = $ this -> factoryAbstract ( $ abstract ) ; if ( ! $ this -> _customFactory ) { return $ this -> createWithoutFactory ( $ abstract , $ parameters ) ; } return Lambda :: callFast ( $ this -> _customFactory , [ $ abstract , $ parameters ] ) ; }
Create the object via the custom callable

@param string $abstract (optional) class or interface name
@param array  $parameters (optional)

@return object

@throws ReflectionException
Create the object via the custom callable