Analyzer::Php::Mautic
Inherits Analyzer::Php::PhpEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object
Mautic registers routes in per-bundle Config/config.php arrays instead of
Symfony attributes:
'routes' => [
'main' => [ 'name' => ['path' => '/themes', 'controller' => '…'] ],
'public' => [ … ],
'api' => [ 'name' => ['path' => '/files/{dir}', 'controller' => '…', 'method' => 'POST'] ],
]
The api group is mounted under /api by CoreBundle/Loader/RouteLoader
($apiCollection->addPrefix('/api')); main/public sit at the root.
Verbs come from the optional 'method' key ('GET|POST', pipe-separated),
defaulting to GET. Path params are already {brace}-style.
Constants
GROUP_PREFIXES = {"main" => "", "public" => "", "api" => "/api"}
Class methods
tech_name
SourceInstance methods
tech
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.