/** * Get the current app instance, or create skeleton instance. * * @param bool $make * @return \Phire\Support\Factory\Container\Container */ function app($make = false) { if (!$make) { return \Phire\Support\Factory\Container\Container::getInstance(); } return new \Phire\Support\Factory\Container\Container(); }
/** * Return new instance from abstract. * * @param $abstract * @param null $options * @return mixed|void */ public function make($abstract, $options = null) { $abstract = $this->getAlias($abstract); return parent::make($abstract, $options); }