FileLoader

class FileLoader extends ArrayLoader Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A MessageCatalogue instance Exceptions NotFoundResourceException when the res

EmptyVersionStrategy

class EmptyVersionStrategy implements VersionStrategyInterface Disable version for all assets. Methods string getVersion(string $path) Returns the asset version for an asset. string applyVersion(string $path) Applies version to the supplied path. Details string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string string applyVe

VersionStrategyInterface

interface VersionStrategyInterface Asset version strategy interface. Methods string getVersion(string $path) Returns the asset version for an asset. string applyVersion(string $path) Applies version to the supplied path. Details string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string string applyVersion(string $path)

IsbnValidator

class IsbnValidator extends ConstraintValidator Validates whether the value is a valid ISBN-10 or ISBN-13. 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 valu

SyntaxError

class SyntaxError extends LogicException Methods __construct($message, $cursor) Details __construct($message, $cursor) Parameters $message $cursor

ExprBuilder::thenEmptyArray()

ExprBuilder thenEmptyArray() Sets a closure returning an empty array. Return Value ExprBuilder

TableHelper deprecated

class TableHelper extends Helper deprecated since version 2.5, to be removed in 3.0 Use {@link Table} instead. Provides helpers to display table output. Constants LAYOUT_DEFAULT LAYOUT_BORDERLESS LAYOUT_COMPACT Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. from Helper HelperSet getHelperSet() Gets the helper set associated with this helper. from Helper static int strlen(string $string) Returns the length of a

LoggingTranslator::setLocale()

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

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

ExprBuilder::ifNull()

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