/** * {@inheritDoc} */ protected static function resolveFacadeInstance($name) { if (!is_object($name) && !static::$app->bound($name) && ($instance = static::getFacadeInstance()) !== null) { static::$app->instance($name, $instance); } return parent::resolveFacadeInstance($name); }