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

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)

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

AmqpCaster::castEnvelope()

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

UsernamePasswordToken

class UsernamePasswordToken extends AbstractToken UsernamePasswordToken implements a username and password token. Methods __construct(string|object $user, string $credentials, string $providerKey, array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername() Returns the username. from AbstractToken mixed getUser() Returns a user representation. from AbstractToken setUser(mixed $user) Sets a user. from Abs

Esi::renderIncludeTag()

string renderIncludeTag(string $uri, string $alt = null, bool $ignoreErrors = true, string $comment = '') Renders an ESI tag. Parameters string $uri A URI string $alt An alternate URI bool $ignoreErrors Whether to ignore errors or not string $comment A comment to add as an esi:include tag Return Value string

FormExtension::getName()

getName() {@inheritdoc}

Output::setVerbosity()

setVerbosity(int $level) Sets the verbosity of the output. Parameters int $level The level of verbosity (one of the VERBOSITY constants)

ClockMock::usleep()

static usleep($us) Parameters $us

Esi::process()

Response process(Request $request, Response $response) Replaces a Response ESI tags with the included resource content. Parameters Request $request A Request instance Response $response A Response instance Return Value Response