-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Adding "FindContainerDependenciesCommand" to the core #45
Comments
Hey there, Just a few things here:
|
Thanks for the input, I've updated the gist above to reflect your suggestions, I hope i caught all single-ifs in the snippet, if something catches your eyes, feel free to change it. If you think you've found a good spot for the |
Thanks a lot @FWidm .. Another way would be to add a Would you provide a PR for us to merge? :) |
Sure, apparently not inner classes are supported in PHP, so I've gone with the second idea of yours. Feel free to move it around if it doesn't fit there. |
I'll close this issue for now, because we already have a PR for this ;) Thanks a lot for contributing! |
Hi, I've shown you the
FindContainerDependenciesCommand
on slack already and you gave me the following feedback:I've since modified the command to now support both ways to call other scripts -
Apiato::call('x@y')
and direct usesuse App\Contianers\x
with two different regex versions. It also parses the container'scomposer.json
to provide more information (you might have two containers with the same name by different authors on different APIs).My questions:
Apiato::call
methods?Current version:
Available in the following gist: https://gist.github.com/FWidm/f09aaa852a03e857eabf33990b2fb0af
Sample Output:
The text was updated successfully, but these errors were encountered: