public push ( Hal\Pattern\Resolver\Resolver $command ) | ||
$command | Hal\Pattern\Resolver\Resolver |
public function push(Resolver $command)
{
$this->jobs->push($command);
return $this;
}
/** * @return Queue[] */ public function factory() { $queue = new Queue(); $queue->push(new ProxyResolver($this->classes))->push(new SingletonResolver($this->classes))->push(new BridgeResolver($this->classes))->push(new DecoratorResolver($this->classes))->push(new StructureResolver($this->classes))->push(new GodObjectResolver($this->classes)); return $queue; }