struct

Analyzer::Php::SymfonyRouteAttributes::RouteAttr

Inherits Struct < Value < Object

A @Route(...) annotation or #[Route(...)] attribute: where it starts and ends, the text between its parentheses, and for an attribute whether it sits on a class (nil for an annotation, which is judged by the text after it).

Constructors

new(start : Int32, stop : Int32, args : String, on_class : Bool | Nil = nil)
Source

Instance methods

args
clone
Source
copy_with(start _start = @start, stop _stop = @stop, args _args = @args, on_class _on_class = @on_class)
Source
on_class
start
stop