Download the PHP package synga/inheritance-finder without Composer
On this page you can find all versions of the php package synga/inheritance-finder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download synga/inheritance-finder
More information about synga/inheritance-finder
Files in synga/inheritance-finder
Download synga/inheritance-finder
More information about synga/inheritance-finder
Files in synga/inheritance-finder
Vendor synga
Package inheritance-finder
Short Description This package can find classes which are extended, implemented by a certain class or is using a certain trait.
License MIT
Package inheritance-finder
Short Description This package can find classes which are extended, implemented by a certain class or is using a certain trait.
License MIT
Please rate this library. Is it a good library?
Informations about the package inheritance-finder
Inheritance Finder
This package can find classes which are extended, implemented or is using a certain trait. It builds a cache and uses it to find the desired files.
Usage
It will now find all classes which inherit from class SomeNamespace\OtherNamespacePath\Class
whithin your ApplicationRoot
directory
Possible options:
findClass('full qualified namespace')
- Can locate a file with the given namespace in the given directoryfindExtends('full qualified namespace')
- Can locate multiple classes which inherit from the given class in the given directoryfindImplements('full qualified namespace')
- Can locate multiple classes which implement or inherit from the given interface in the given directoryfindTraitUse('full qualified namespace')
- Can locate multiple classes which uses the given trait in the given directoryfindMultiple('Classes [string or array of strings]', 'Interfaces [string or array of strings]', 'Traits [string or array of strings]')
- Can locate multiple classes at once, it uses the methods discribed above.
Acknowledgements:
- Right now this package cannot handle multiple classes in one file. I will try to fix this in the near future.
- The first run will be slow, because it is indexing all the files in your project root. I'm thinking off a manner to make it faster. I am planning of using react php for this so we can use multiple processes.
- Don't use this code in production (you can use it FOR production, to build a cache of files). The performance results are strongly depending your hardware.
All versions of inheritance-finder with dependencies
PHP Build Version
Package Version
The package synga/inheritance-finder contains the following files
Loading the files please wait ....