TraceStub

class TraceStub extends Stub Represents a backtrace as returned by debug_backtrace() or Exception->getTrace(). Constants TYPE_REF TYPE_STRING TYPE_ARRAY TYPE_OBJECT TYPE_RESOURCE STRING_BINARY STRING_UTF8 ARRAY_ASSOC ARRAY_INDEXED Properties $type from Stub $class from Stub $value from Stub $cut from Stub $handle from Stub $refCount from Stub $position from Stub $keepArgs $sliceOffset $sliceLength $numberingOffset

TraceableUrlMatcher::getTracesForRequest()

getTracesForRequest(Request $request) Parameters Request $request

TraceableUrlMatcher::getTraces()

getTraces($pathinfo) Parameters $pathinfo

TraceableUrlMatcher

class TraceableUrlMatcher extends UrlMatcher TraceableUrlMatcher helps debug path info matching by tracing the match. Constants REQUIREMENT_MATCH REQUIREMENT_MISMATCH ROUTE_MATCH ROUTE_DOES_NOT_MATCH ROUTE_ALMOST_MATCHES ROUTE_MATCHES Methods __construct(RouteCollection $routes, RequestContext $context) Constructor. from UrlMatcher setContext(RequestContext $context) Sets the request context. from UrlMatcher RequestContext getContext() Gets the request c

TraceableEventDispatcherInterface::getNotCalledListeners()

array getNotCalledListeners() Gets the not called listeners. Return Value array An array of not called listeners

TraceableEventDispatcherInterface::getCalledListeners()

array getCalledListeners() Gets the called listeners. Return Value array An array of called listeners

TraceableEventDispatcherInterface

interface TraceableEventDispatcherInterface implements EventDispatcherInterface Methods Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. from EventDispatcherInterface addListener(string $eventName, callable $listener, int $priority) Adds an event listener that listens on the specified events. from EventDispatcherInterface addSubscriber(EventSubscriberInterface $subscriber) Adds an event subscriber. from EventDispatcherInterfac

TraceableEventDispatcher::removeSubscriber()

removeSubscriber(EventSubscriberInterface $subscriber) Removes an event subscriber. Parameters EventSubscriberInterface $subscriber The subscriber

TraceableEventDispatcher::removeListener()

removeListener(string $eventName, callable $listener) Removes an event listener from the specified events. Parameters string $eventName The event to remove a listener from callable $listener The listener to remove

TraceableEventDispatcher::hasListeners()

bool hasListeners(string $eventName = null) Checks whether an event has any registered listeners. Parameters string $eventName The name of the event Return Value bool true if the specified event has any listeners, false otherwise