Example #1
0
 /**
  * Renders the file view
  * @param boolean $return True to return the contents of the file, false
  * to passthru the file to the output
  * @return null|string
  */
 public function render($return = true)
 {
     if ($return) {
         return $this->file->read();
     }
     $this->file->passthru();
 }