Ejemplo n.º 1
0
 /**
  * Serve a file as a resouce for use by the browser eg: css,js,png,jpg,jpeg files.
  *
  * @param string $file The file to serve.
  */
 public function file($file)
 {
     \FileHelper::serveFile($file);
     exit;
 }