Analyzer::Php::Symfony
Inherits Analyzer::Php::SymfonyRouteAttributes < Analyzer::Php::PhpEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object
Constants
A docblock @Route that documents nothing: what follows the docblock
is not a declaration (its method was commented out, which
without_comments blanked) — Symfony registers no route for it.
A form being made: $this->createForm(X::class / a factory's
->create(X::class, or ->createNamed('name', X::class. The type may
be a variable (inside a helper that takes it as an argument).
$this->forward('Fqcn::method', ...): a sub-request on the same input.
FOSRestBundle's #[Rest\QueryParam(name: 'page')] /
@Rest\RequestParam(name="title") / FileParam, which its
ParamFetcher reads from the query, the decoded body or the files.
Attributes every caller, anonymous included, is granted.
#[IsGranted('X')] / @IsGranted("X"), with the voted attribute (a
literal or a Class::CONST) when there is one, or #[Security("expr")].
Security must open with its expression string: NelmioApiDoc's
@Security(name="Bearer") documents a scheme and checks nothing.
A later entry of an attribute group (#[Route('/a'), IsGranted('X')]) counts.
Stands for a form name that cannot be read statically (createNamed($n, …), a computed getBlockPrefix); ? is not valid in a form name.
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.