TranslationWriter::addDumper()

addDumper(string $format, DumperInterface $dumper) Adds a dumper to the writer. Parameters string $format The format of the dumper DumperInterface $dumper The dumper

RoleHierarchyInterface

interface RoleHierarchyInterface RoleHierarchyInterface is the interface for a role hierarchy. Methods RoleInterface[] getReachableRoles(array $roles) Returns an array of all reachable roles by the given ones. Details RoleInterface[] getReachableRoles(array $roles) Returns an array of all reachable roles by the given ones. Reachable roles are the roles directly assigned but also all roles that are transitively reachable from them in the role hi

DebugFormatterHelper::stop()

string stop(string $id, string $message, bool $successful, string $prefix = 'RES') Stops a formatting session. Parameters string $id The id of the formatting session string $message The message to display bool $successful Whether to consider the result as success string $prefix The prefix for the end output Return Value string

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

ArrayDenormalizer::denormalize()

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

ContainerBuilder::setAlias()

setAlias(string $alias, string|Alias $id) Sets an alias for an existing service. Parameters string $alias The alias to create string|Alias $id The service to alias Exceptions InvalidArgumentException if the id is not a string or an Alias InvalidArgumentException if the alias is for itself

ConnectionOptions

class ConnectionOptions A class representing the Ldap extension's options, which can be used with ldapsetoption or ldapgetoption. Constants API_INFO DEREF SIZELIMIT TIMELIMIT REFERRALS RESTART PROTOCOL_VERSION SERVER_CONTROLS CLIENT_CONTROLS API_FEATURE_INFO HOST_NAME ERROR_NUMBER ERROR_STRING MATCHED_DN DEBUG_LEVEL NETWORK_TIMEOUT X_SASL_MECH X_SASL_REALM X_SASL_AUTHCID X_SASL_AUTHZID Methods static getOpt

PrototypedArrayNode::getDefaultValue()

mixed getDefaultValue() Retrieves the default value. The default value could be either explicited or derived from the prototype default value. Return Value mixed The default value

TokenStream::next()

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

ExecutionContext::getPropertyPath()

string getPropertyPath(string $subPath = '') Returns the property path to the value that the validator is currently validating. For example, take the following object graph: (Person)---($address: Address)---($street: string) When the Person instance is passed to the validator, the property path is initially empty. When the $address property of that person is validated, the property path is "address". When the $street property of the related Address instance is validated, the pr