UniqueEntity

class UniqueEntity extends Constraint Constraint for the Unique Entity validator. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_UNIQUE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to

ProcessBuilder::create()

static ProcessBuilder create(array $arguments = array()) Creates a process builder instance. Parameters array $arguments An array of arguments Return Value ProcessBuilder

RouteCollectionBuilder::setMethods()

$this setMethods(array|string $methods) Sets the methods on all embedded routes (unless already set). Parameters array|string $methods Return Value $this

ClassMetadata::hasPropertyMetadata()

bool hasPropertyMetadata(string $property) Check if there's any metadata attached to the given named property. Parameters string $property The property name Return Value bool

AssetsExtension deprecated::getName()

getName() {@inheritdoc}

CurrencyBundleInterface::getCurrencyName()

string|null getCurrencyName(string $currency, string $displayLocale = null) Returns the name of a currency. Parameters string $currency A currency code (e.g. "EUR") string $displayLocale Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}. Return Value string|null The name of the currency or NULL if not found

Response::getDate()

DateTime getDate() Returns the Date header as a DateTime instance. Return Value DateTime A \DateTime instance Exceptions RuntimeException When the header is not parseable

DebugHandler::countErrors()

int countErrors() Returns the number of errors. Return Value int The number of errors

NormalizationBuilder

class NormalizationBuilder This class builds normalization conditions. Properties $before $remappings Methods __construct(NodeDefinition $node) Constructor. NormalizationBuilder remap(string $key, string $plural = null) Registers a key to remap to its plural form. ExprBuilder|NormalizationBuilder before(Closure $closure = null) Registers a closure to run before the normalization or an expression builder to build it if null is provided. Details

FunctionExtension

class FunctionExtension extends AbstractExtension XPath expression translator function extension. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods callable[] getNodeTranslators() Returns node translators. from AbstractExtension callable[] getCombinationTranslators() Returns combination translators. from AbstractExtension callable[] getFunctionTranslators() Returns function translators.