ConsoleOutputInterface

interface ConsoleOutputInterface implements OutputInterface ConsoleOutputInterface is the interface implemented by ConsoleOutput class. This adds information about stderr output stream. Methods write(string|array $messages, Boolean $newline = false, integer $type = self::OUTPUT_NORMAL) Writes a message to the output. from OutputInterface writeln(string|array $messages, integer $type = self::OUTPUT_NORMAL) Writes a message to the output and adds a newline at the end. from OutputInter

NotBlankValidator

class NotBlankValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details init

OptionsResolverInterface deprecated::isRequired()

bool isRequired(string $option) Returns whether an option is required. An option is required if it has been passed to {@link setRequired()}, but not to {@link setDefaults()}. That is, the option has been declared as required and no default value has been set. Parameters string $option The name of the option. Return Value bool Whether the option is required.

AdapterInterface deprecated::ignoreUnreadableDirs()

AdapterInterface ignoreUnreadableDirs(bool $ignore = true) Parameters bool $ignore Return Value AdapterInterface Current instance

ConstraintViolationBuilder::setParameters()

ConstraintViolationBuilderInterface setParameters(array $parameters) Sets all parameters to be inserted into the violation message. Parameters array $parameters An array with the parameter names as keys and the values to be inserted in their place as values Return Value ConstraintViolationBuilderInterface This builder

MergeDoctrineCollectionListener

class MergeDoctrineCollectionListener implements EventSubscriberInterface Merge changes from the request to a Doctrine\Common\Collections\Collection instance. This works with ORM, MongoDB and CouchDB instances of the collection interface. Methods static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. onSubmit(FormEvent $event) onBind(FormEvent $event) deprecated Alias of {@link onSubmit()}. Details static

ImmutableEventDispatcher::dispatch()

Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. Parameters string $eventName The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners. Event $event The event to pass to the event handlers/listeners If not supplied, an empty Event instance is created. Return Value Event

LdapClient deprecated

class LdapClient implements LdapClientInterface deprecated The LdapClient class will be removed in Symfony 4.0. You should use the Ldap class instead. Methods __construct($host = null, $port = 389, $version = 3, $useSsl = false, $useStartTls = false, $optReferrals = false, LdapInterface $ldap = null) bind(string $dn = null, string $password = null) Return a connection bound to the ldap. QueryInterface query(string $dn, string $query, array $options = array()) Queries a ldap

FunctionExtension::translateNthLastOfType()

XPathExpr translateNthLastOfType(XPathExpr $xpath, FunctionNode $function) Parameters XPathExpr $xpath FunctionNode $function Return Value XPathExpr Exceptions ExpressionErrorException

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