mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Add generic factory
This commit is contained in:
@@ -12,6 +12,7 @@ namespace PHPSTORM_META {
|
|||||||
$STATIC_METHOD_TYPES = [
|
$STATIC_METHOD_TYPES = [
|
||||||
<?php foreach($methods as $method): ?>
|
<?php foreach($methods as $method): ?>
|
||||||
<?= $method ?> => [
|
<?= $method ?> => [
|
||||||
|
'' == '@',
|
||||||
<?php foreach($bindings as $abstract => $class): ?>
|
<?php foreach($bindings as $abstract => $class): ?>
|
||||||
'<?= $abstract ?>' instanceof \<?= $class ?>,
|
'<?= $abstract ?>' instanceof \<?= $class ?>,
|
||||||
<?php endforeach ?> ],
|
<?php endforeach ?> ],
|
||||||
|
|||||||
Reference in New Issue
Block a user