-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container optimizations #36613
Container optimizations #36613
Conversation
23aab0c
to
248e30c
Compare
e758c78
to
b902c8c
Compare
b902c8c
to
fd87c32
Compare
fd87c32
to
3e03251
Compare
if ($item instanceof ServiceFactory) { | ||
return $item->get(); | ||
} elseif (is_callable($item)) { | ||
$this->items[$name] = $item($this); |
Check failure
Code scanning / Psalm
TaintedCallable Error
if ($item instanceof ServiceFactory) { | ||
return $item->get(); | ||
} elseif (is_callable($item)) { | ||
$this->items[$name] = $item($this); |
Check failure
Code scanning / Psalm
TaintedCallable Error
if ($item instanceof ServiceFactory) { | ||
return $item->get(); | ||
} elseif (is_callable($item)) { | ||
$this->items[$name] = $item($this); |
Check failure
Code scanning / Psalm
TaintedCallable Error
3e03251
to
1477947
Compare
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
…r when instances are already created Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
1477947
to
4074848
Compare
Various minor optimization to the DI container that add up since we query the container a lotRipped out pimple altogether, we were barely using it's more advanced features anyway and it was mostly just getting in the way