Example #1
0
 public function testTurbo()
 {
     // start output buffering so there is something to clean
     ob_start();
     // this isn't going to do anything, but should execute it for code coverage
     $layout = new Layout('');
     $turbo = $layout->turbo();
 }
Example #2
0
 public function title($title = null)
 {
     if ($title !== null) {
         $title = Layout::getTitle($title);
     }
     return $this->data(self::TITLE, $title);
 }