FormConfigBuilderInterface::resetViewTransformers()

FormConfigBuilderInterface resetViewTransformers() Clears the view transformers. Return Value FormConfigBuilderInterface The configuration object

Process::enableOutput()

Process enableOutput() Enables fetching output and error output from the underlying process. Return Value Process Exceptions RuntimeException In case the process is already running

ExecutionContextInterface deprecated::getMetadataFactory()

MetadataFactoryInterface getMetadataFactory() deprecated deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContextInterface::getValidator()} instead and call {@link Validator\ValidatorInterface::getMetadataFor()} or {@link Validator\ValidatorInterface::hasMetadataFor()} there. Returns the used metadata factory. Return Value MetadataFactoryInterface The metadata factory.

Escaper::escapeWithSingleQuotes()

static string escapeWithSingleQuotes(string $value) Escapes and surrounds a PHP value with single quotes. Parameters string $value A PHP value Return Value string The quoted, escaped string

PropertyAccessor::isReadable()

bool isReadable(object|array $objectOrArray, string|PropertyPathInterface $propertyPath) Returns whether a property path can be read from an object graph. Whenever this method returns true, {@link getValue()} is guaranteed not to throw an exception when called with the same arguments. Parameters object|array $objectOrArray The object or array to check string|PropertyPathInterface $propertyPath The property path to check Return Value bool Whether the property path can be read E

PathPackage

class PathPackage extends Package Package that adds a base path to asset URLs in addition to a version. In addition to the provided base path, this package also automatically prepends the current request base path if a Context is available to allow a website to be hosted easily under any given path under the Web Server root directory. Methods __construct($basePath, VersionStrategyInterface $versionStrategy, ContextInterface $context = null) string getVersion(string $path) Returns t

AttributeBag::getIterator()

ArrayIterator getIterator() Returns an iterator for attributes. Return Value ArrayIterator An \ArrayIterator instance

HeaderBag::add()

add(array $headers) Adds new headers the current HTTP headers set. Parameters array $headers An array of HTTP headers

RequestContext::getParameter()

mixed getParameter(string $name) Gets a parameter value. Parameters string $name A parameter name Return Value mixed The parameter value or null if nonexistent

Helper::formatMemory()

static formatMemory($memory) Parameters $memory