spiral/tokenizer

Static Analysis: Class and Invocation locators

v2.1.7 2019-06-07 17:46 UTC

README

Latest Stable Version Build Status Codecov

The package provides the ability to locate all instances of desired classes, function/method invocations.

Example:

$cl = new ClassLocator((new Finder())->files()->in([__DIR__]));

print_r($cl->getClasses(TargetInterface::class));

License:

The MIT License (MIT). Please see LICENSE for more information. Maintained by SpiralScout.