ServerParams

class ServerParams extends ServerParams Methods __construct(RequestStack $requestStack = null) from ServerParams null|int getPostMaxSize() Returns maximum post size in bytes. from ServerParams string getNormalizedIniPostMaxSize() Returns the normalized "postmaxsize" ini setting. from ServerParams mixed getContentLength() Returns the content length of the request. from ServerParams Details __construct(RequestStack $requestStack = null)

Component\Validator\Mapping\Factory

Classes BlackHoleMetadataFactory Metadata factory that does not store metadata. LazyLoadingMetadataFactory Creates new {@link ClassMetadataInterface} instances. Interfaces MetadataFactoryInterface Returns {@link MetadataInterface} instances for values.

ParameterBagUtils::getParameterBagValue()

static mixed getParameterBagValue(ParameterBag $parameters, string $path) Returns a "parameter" value. Paths like foo[bar] will be evaluated to find deeper items in nested data structures. Parameters ParameterBag $parameters The parameter bag string $path The key Return Value mixed Exceptions InvalidArgumentException when the given path is malformed

Process::clearOutput()

Process clearOutput() Clears the process output. Return Value Process

EqualToValidator

class EqualToValidator extends AbstractComparisonValidator Validates values are equal (==). 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. fr

YamlLintCommand

class YamlLintCommand extends Command Validates YAML files syntax and outputs encountered errors. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Command Ap

FormFactory::createForProperty()

FormInterface createForProperty(string $class, string $property, mixed $data = null, array $options = array()) Returns a form for a property of a class. Parameters string $class The fully qualified class name string $property The name of the property to guess for mixed $data The initial data array $options The options for the builder Return Value FormInterface The form named after the property Exceptions InvalidOptionsException if any given option is not applicable to the form

SurrogateListener

class SurrogateListener implements EventSubscriberInterface SurrogateListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for Surrogates. Methods __construct(SurrogateInterface $surrogate = null) Constructor. onKernelResponse(FilterResponseEvent $event) Filters the Response. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(SurrogateInterface $

Component\Form\Extension\Core\Type

Classes BaseType Encapsulates common logic of {@link FormType} and {@link ButtonType}. BirthdayType ButtonType A form button. CheckboxType ChoiceType CollectionType CountryType CurrencyType DateTimeType DateType EmailType FileType FormType HiddenType IntegerType LanguageType LocaleType MoneyType NumberType PasswordType PercentType RadioType RepeatedType ResetType A reset button. SearchType Submi

AbstractRendererEngine::getResourceForBlockNameHierarchy()

mixed getResourceForBlockNameHierarchy(FormView $view, array $blockNameHierarchy, int $hierarchyLevel) Returns the resource for a block hierarchy. A block hierarchy is an array which starts with the root of the hierarchy and continues with the child of that root, the child of that child etc. The following is an example for a block hierarchy: formwidget textwidget url_widget In this example, "url_widget" is the most specific block, while the other blocks are its ancestors in the