Analyzer::Php::CakePHP
Inherits Analyzer::Php::PhpEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object
Constants
Route receivers in a CakePHP routes file: the injected builder under any
variable name ($routes, $builder, $routeBuilder, ...) or the static
Router facade used by older apps and plugin route files (croogo).
Hyperf keeps its route table at config/routes.php too, and writes it
as Router::get('/items/{itemId}', …) — a call shape CakePHP 3 also
used, so the verb matchers below hit it. In a repo holding both, CakePHP
reported Hyperf's routes as its own. Hyperf\ is unambiguous: the file
imports Hyperf\HttpServer\Router\Router, and CakePHP never names it.
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.