TraceableEventDispatcher::addSubscriber()

addSubscriber(EventSubscriberInterface $subscriber) Adds an event subscriber. The subscriber is asked for all the events he is interested in and added as a listener for these events. Parameters EventSubscriberInterface $subscriber The subscriber.

Question::getAutocompleterValues()

null|array|Traversable getAutocompleterValues() Gets values for the autocompleter. Return Value null|array|Traversable

ClassMetadata::addGetterConstraints()

ClassMetadata addGetterConstraints(string $property, array $constraints) Parameters string $property array $constraints Return Value ClassMetadata

CompiledRoute::getHostVariables()

array getHostVariables() Returns the host variables. Return Value array The variables

PersistentTokenInterface::getUsername()

string getUsername() Returns the username. Return Value string

AbstractTypeExtension::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options.

OptionsResolver::setNormalizer()

OptionsResolver setNormalizer(string $option, Closure $normalizer) Sets the normalizer for an option. The normalizer should be a closure with the following signature: php function (Options $options, $value) { // ... } The closure is invoked when {@link resolve()} is called. The closure has access to the resolved values of other options through the passed {@link Options} instance. The second parameter passed to the closure is the value of the option. The resolved option value

ConstraintViolationBuilder::atPath()

ConstraintViolationBuilderInterface atPath(string $path) Stores the property path at which the violation should be generated. The passed path will be appended to the current property path of the execution context. Parameters string $path The property path Return Value ConstraintViolationBuilderInterface This builder

Process::setEnhanceWindowsCompatibility()

Process setEnhanceWindowsCompatibility(bool $enhance) Sets whether or not Windows compatibility is enabled. Parameters bool $enhance Return Value Process The current Process instance

Process::getIncrementalErrorOutput()

string getIncrementalErrorOutput() Returns the errorOutput incrementally. In comparison with the getErrorOutput method which always return the whole error output, this one returns the new error output since the last call. Return Value string The process error output since the last call Exceptions LogicException in case the output has been disabled LogicException In case the process is not started