PackageInterface

interface PackageInterface Asset package interface. Methods string getVersion(string $path) Returns the asset version for an asset. string getUrl(string $path) Returns an absolute or root-relative public 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 getUrl(string $path) Returns an

MoneyToLocalizedStringTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a localized money string into a normalized format. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not a string or if the value can not be transformed.

BundleReaderInterface::getLocales()

string[] getLocales(string $path) Reads the available locales of a resource bundle. Parameters string $path The path to the resource bundle. Return Value string[] A list of supported locale codes.

Input::getOption()

mixed getOption(string $name) Returns the option value for a given option name. Parameters string $name The option name Return Value mixed The option value Exceptions InvalidArgumentException When option given doesn't exist

PrototypedArrayNode::setKeyAttribute()

setKeyAttribute(string $attribute, bool $remove = true) Sets the attribute which value is to be used as key. This is useful when you have an indexed array that should be an associative array. You can select an item from within the array to be the key of the particular item. For example, if "id" is the "key", then: array( array('id' => 'my_name', 'foo' => 'bar'), ); becomes array( 'my_name' => array('foo' => 'bar'), ); If you'd like "'id' => 'my_name'" to s

Container::hasParameter()

bool hasParameter(string $name) Checks if a parameter exists. Parameters string $name The parameter name Return Value bool The presence of parameter in container

IntlDateFormatter::isLenient()

bool isLenient() Returns whether the formatter is lenient. Return Value bool Currently always returns false Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/intldateformatter.islenient.php

ValidationListener

class ValidationListener implements EventSubscriberInterface Methods static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. __construct(ValidatorInterface $validator, ViolationMapperInterface $violationMapper) validateForm(FormEvent $event) Validates the form and its domain object. Details static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to

Entry::isAuditSuccess()

bool isAuditSuccess() Whether auditing for successful denies is turned on Return Value bool

ClassMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add