protected function factory(Factory $factory)
	{
		$factory->setLogger($this->getLogger());

		return $factory->setFactoryManager($this);
	}
protected function factory(Factory $factory)
	{
		$factory->setLogger($this->getLogger());

		return $factory->setFactoryManager($this);
	}
protected function factory ( Factory $ factory ) { $ factory -> setLogger ( $ this -> getLogger ( ) ) ; return $ factory -> setFactoryManager ( $ this ) ; }
Set the logger and factory manager on the factory instance.

@param  \Basset\Factory\Factory  $factory
@return \Basset\Factory\Factory
Set the logger and factory manager on the factory instance .