コード例 #1
0
ファイル: Classic.php プロジェクト: completionist/vanity
 protected function create()
 {
     if (!parent::create()) {
         return false;
     }
     $this->topAreaHeight = (int) $this->option('topAreaHeight', $this->topAreaHeight);
     $this->bottomAreaHeight = (int) $this->option('bottomAreaHeight', $this->bottomAreaHeight);
 }
コード例 #2
0
ファイル: Card.php プロジェクト: completionist/vanity
 /**
  * @return Image
  */
 private function drawLayout()
 {
     $this->layout->card($this);
     return $this->layout->draw();
 }