TemplateManager::getTemplates()

array getTemplates(Profile $profile) Gets the templates for a given profile. Parameters Profile $profile Return Value array

StreamedResponse::setContent()

Response setContent(mixed $content) Sets the response content. Valid types are strings, numbers, null, and objects that implement a __toString() method. Parameters mixed $content Content that can be cast to string Return Value Response Exceptions UnexpectedValueException

AttributeBag::has()

bool has(string $name) Checks if an attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

ButtonBuilder::setPropertyPath()

FormConfigBuilderInterface setPropertyPath(null|string|PropertyPathInterface $propertyPath) Unsupported method. This method should not be invoked. Parameters null|string|PropertyPathInterface $propertyPath The property path or null if the path should be set automatically based on the form's name. Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

Validator deprecated::validate()

ConstraintViolationListInterface validate(mixed $value, array|null $groups = null, bool $traverse = false, bool $deep = false) Validates a value. The accepted values depend on the {@link MetadataFactoryInterface} implementation. The signature changed with Symfony 2.5 (see {@link Validator\ValidatorInterface::validate()}. This signature will be disabled in Symfony 3.0. Parameters mixed $value The value to validate array|null $groups The validation groups to validate. bool $trav

HeaderBag::contains()

bool contains(string $key, string $value) Returns true if the given HTTP header contains the given value. Parameters string $key The HTTP header name string $value The HTTP value Return Value bool true if the value is contained in the header, false otherwise

ValidatorBuilder::setConstraintValidatorFactory()

ValidatorBuilderInterface setConstraintValidatorFactory(ConstraintValidatorFactoryInterface $validatorFactory) Sets the constraint validator factory used by the validator. Parameters ConstraintValidatorFactoryInterface $validatorFactory The validator factory Return Value ValidatorBuilderInterface The builder object

AttributeMetadataInterface::getMaxDepth()

int|null getMaxDepth() Gets the serialization max depth for this attribute. Return Value int|null

DefinitionDecorator::getArgument()

mixed getArgument(int $index) Gets an argument to pass to the service constructor/factory method. If replaceArgument() has been used to replace an argument, this method will return the replacement value. Parameters int $index Return Value mixed The argument value Exceptions OutOfBoundsException When the argument does not exist

ConsoleOutput::setVerbosity()

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