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