示例#1
0
文件: helpers.php 项目: EMRL/fire
 /**
  * Return instance of Fire
  *
  * @param  string  $make
  * @param  array   $parameters
  * @return mixed|\Fire\Foundation\Fire
  */
 function fire($make = null, $parameters = [])
 {
     if (is_null($make)) {
         return Container::getInstance();
     }
     return Container::getInstance()->make($make, $parameters);
 }