RequestContext::setPathInfo()

RequestContext setPathInfo(string $pathInfo) Sets the path info. Parameters string $pathInfo The path info Return Value RequestContext The current instance, implementing a fluent interface

XmlEncoder::encode()

scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. Parameters mixed $data Data to encode string $format Format name array $context options that normalizers/encoders have access to Return Value scalar Exceptions UnexpectedValueException

AmqpCaster::castEnvelope()

static castEnvelope(AMQPEnvelope $c, array $a, Stub $stub, $isNested, $filter) Parameters AMQPEnvelope $c array $a Stub $stub $isNested $filter

DumpListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

Request::getMimeType()

string getMimeType(string $format) Gets the mime type associated with the format. Parameters string $format The format Return Value string The associated mime type (null if not found)

InitAclCommand

class InitAclCommand extends ContainerAwareCommand Installs the tables required by the ACL system. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Command A

FragmentListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

CacheClassMetadataFactory::getMetadataFor()

ClassMetadataInterface getMetadataFor(string|object $value) If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned. If the factory was configured with a cache, this method will first look for an existing metadata instance in the cache. If an existing instance is found, it will be returned without further ado. Otherwise, a new metadata instance is created. If the factory was configured with a loader, the metad

TimeDataCollector::setEvents()

setEvents(array $events) Sets the request events. Parameters array $events The request events

OutputFormatter::escape()

static string escape(string $text) Escapes "<" special char in given text. Parameters string $text Text to escape Return Value string Escaped text