Ejemplo n.º 1
0
 protected function create()
 {
     if (!parent::create()) {
         return false;
     }
     $this->topAreaHeight = (int) $this->option('topAreaHeight', $this->topAreaHeight);
     $this->bottomAreaHeight = (int) $this->option('bottomAreaHeight', $this->bottomAreaHeight);
 }
Ejemplo n.º 2
0
 /**
  * @return Image
  */
 private function drawLayout()
 {
     $this->layout->card($this);
     return $this->layout->draw();
 }