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

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

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

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.

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

Reader::findPattern()

bool findPattern(string $pattern) Parameters string $pattern Return Value bool

LdapInterface::getEntryManager()

EntryManagerInterface getEntryManager() Return Value EntryManagerInterface

ExprBuilder::ifNull()

ExprBuilder ifNull() Tests if the value is null. Return Value ExprBuilder

MethodNotImplementedException deprecated

class MethodNotImplementedException extends MethodNotImplementedException deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Exception\MethodNotImplementedException} instead. Alias of {@link \Symfony\Component\Intl\Exception\MethodNotImplementedException}. Constants INTL_INSTALL_MESSAGE Methods __construct(string $methodName) Constructor. from MethodNotImplementedException Details __construct(string $methodName

LoggingTranslator::setLocale()

setLocale(string $locale) Sets the current locale. Parameters string $locale The locale Exceptions InvalidArgumentException If the locale contains invalid characters