return array #28
return array
#28
-
public static function resolve($package, $controller)
{
if (! static::load($package, $controller)) {
return;
}
$identifier = Package::identifier($package, $controller);
if (Container::registered('controller: '.$identifier)) {
return Container::resolve('controller: '.$identifier);
}
$controller = static::format($package, $controller);
return Event::exists(static::FACTORY) ? Event::first(static::FACTORY, $controller) : new $controller();
}
??? |
Beta Was this translation helpful? Give feedback.
Answered by
esyede
Nov 7, 2022
Replies: 1 comment
-
|
Fixed in b5391c8 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
esyede
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed in b5391c8