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

Command::setProcessTitle()

Command setProcessTitle(string $title) Sets the process title of the command. This feature should be used only when creating a long process command, like a daemon. PHP 5.5+ or the proctitle PECL library is required Parameters string $title The process title Return Value Command The current instance

CompiledRoute::unserialize()

unserialize($serialized) {@inheritdoc} Parameters $serialized

BundleTransformer::createStubs()

createStubs(StubbingContextInterface $context) Parameters StubbingContextInterface $context

TableStyle::getVerticalBorderChar()

string getVerticalBorderChar() Gets vertical border character. Return Value string

OutputFormatterInterface::isDecorated()

bool isDecorated() Gets the decorated flag. Return Value bool true if the output will decorate messages, false otherwise

ClassMetadata::getAttributesMetadata()

AttributeMetadataInterface[] getAttributesMetadata() Gets the list of {@link AttributeMetadataInterface}. Return Value AttributeMetadataInterface[]

TranslatorListener::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

LoaderChain

class LoaderChain implements LoaderInterface Calls multiple {@link LoaderInterface} instances in a chain. This class accepts multiple instances of LoaderInterface to be passed to the constructor. When {@link loadClassMetadata()} is called, the same method is called in all of these loaders, regardless of whether any of them was successful or not. Methods __construct(array $loaders) Accepts a list of LoaderInterface instances. bool loadClassMetadata(ClassMetadataInterface $metadata) L

Serializer::denormalize()

object denormalize(mixed $data, $type, string $format = null, array $context = array()) Denormalizes data back into an object of the given class. Parameters mixed $data data to restore $type string $format format the given data was extracted from array $context options available to the denormalizer Return Value object