NotEqualToValidator

class NotEqualToValidator extends AbstractComparisonValidator Validates values are all unequal (!=). 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 v

Request::getTrustedHeaderName()

static string getTrustedHeaderName(string $key) Gets the trusted proxy header name. Parameters string $key The header key Return Value string The header name Exceptions InvalidArgumentException

Request::getHttpHost()

string getHttpHost() Returns the HTTP host being requested. The port name will be appended to the host if it's non-standard. Return Value string

TableHelper deprecated::setPadType()

TableHelper setPadType(int $padType) Sets cell padding type. Parameters int $padType STRPAD* Return Value TableHelper

EventDispatcherInterface::hasListeners()

bool hasListeners(string $eventName = null) Checks whether an event has any registered listeners. Parameters string $eventName The name of the event Return Value bool true if the specified event has any listeners, false otherwise

Compiler::reset()

reset()

Command deprecated::add()

Command add(string|Command $bit) Appends a string or a Command instance. Parameters string|Command $bit Return Value Command The current Command instance

FormExtensionInterface::getTypeExtensions()

FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. Parameters string $name The name of the type Return Value FormTypeExtensionInterface[] An array of extensions as FormTypeExtensionInterface instances

FilePathsIterator deprecated

class FilePathsIterator extends ArrayIterator deprecated since 2.8, to be removed in 3.0. Iterate over shell command result. Methods __construct(array $paths, string $baseDir) mixed __call(string $name, array $arguments) SplFileInfo current() Return an instance of SplFileInfo with support for relative paths. string key() next() rewind() string getSubPath() string getSubPathname() Details __construct(array $pat

DepthRangeFilterIterator

class DepthRangeFilterIterator extends FilterIterator DepthRangeFilterIterator limits the directory depth. Methods rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. from FilterIterator __construct(RecursiveIteratorIterator $iterator, int $minDepth, int $maxDepth = PHP_INT_MAX) Constructor. bool accept() Filters the iterator values. Details rewind()