TraceableControllerResolver::getController()

callable|false getController(Request $request) Returns the Controller instance associated with a Request. As several resolvers can exist for a single application, a resolver must return false when it is not able to determine the controller. The resolver must only throw an exception when it should be able to load controller but cannot because of some errors made by the developer. Parameters Request $request A Request instance Return Value callable|false A PHP callable representi

TraceableArgumentResolver

class TraceableArgumentResolver implements ArgumentResolverInterface Methods __construct(ArgumentResolverInterface $resolver, Stopwatch $stopwatch) array getArguments(Request $request, callable $controller) Returns the arguments to pass to the controller. Details __construct(ArgumentResolverInterface $resolver, Stopwatch $stopwatch) Parameters ArgumentResolverInterface $resolver Stopwatch $stopwatch array ge

TooManyRequestsHttpException

class TooManyRequestsHttpException extends HttpException TooManyRequestsHttpException. Methods __construct(int|string $retryAfter = null, $message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct(int|string $retryAfter = null, $message = null, Exception $previous = null, $code) Const

TraceableControllerResolver

class TraceableControllerResolver implements ControllerResolverInterface, ArgumentResolverInterface TraceableControllerResolver. Methods __construct(ControllerResolverInterface $resolver, Stopwatch $stopwatch, ArgumentResolverInterface $argumentResolver = null) Constructor. callable|false getController(Request $request) Returns the Controller instance associated with a Request. array getArguments(Request $request, callable $controller) deprecated Returns the arguments to pass t

TokenStream::next()

next() Sets the pointer to the next token and returns the old one.

TokenStream::isEOF()

bool isEOF() Checks if end of stream was reached. Return Value bool

TokenStream::push()

TokenStream push(Token $token) Pushes a token. Parameters Token $token Return Value TokenStream

TokenStream::getUsed()

Token[] getUsed() Returns used tokens. Return Value Token[]

TokenStream::skipWhitespace()

skipWhitespace() Skips next whitespace if any.

TokenStream::getNextIdentifier()

string getNextIdentifier() Returns nex identifier token. Return Value string The identifier token value Exceptions SyntaxErrorException If next token is not an identifier