/** * {@inheritdoc} */ public function __construct(Type $type) { parent::__construct($type); $this->width = 128; $this->height = 128; $this->background = 0x0; $this->zoom = false; }
/** * @param Processor $processor * * @return $this */ public function setProcessor($processor) { if (!$processor instanceof Processor) { $processor = Processor::objectify($processor, array($this)); } $this->processor = $processor; return $this; }