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