BaseNode::hasAttribute()

hasAttribute($key) Parameters $key

MetadataInterface

interface MetadataInterface A container for validation metadata. Most importantly, the metadata stores the constraints against which an object and its properties should be validated. Additionally, the metadata stores whether objects should be validated against their class' metadata and whether traversable objects should be traversed or not. Methods int getCascadingStrategy() Returns the strategy for cascading objects. int getTraversalStrategy() Returns the strategy for traversing tr

Component\Console\Logger

Classes ConsoleLogger PSR-3 compliant console logger

OptionsResolverInterface deprecated::setNormalizers()

OptionsResolverInterface setNormalizers(array $normalizers) Sets normalizers that are applied on resolved options. The normalizers should be closures with the following signature: function (Options $options, $value) The second parameter passed to the closure is the value of the option. The closure should return the normalized value. Parameters array $normalizers An array of closures. Return Value OptionsResolverInterface The resolver instance.

PasswordType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

Transformer

class Transformer Parser and formatter for date formats. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Details

Stopwatch::lap()

StopwatchEvent lap(string $name) Stops then restarts an event. Parameters string $name The event name Return Value StopwatchEvent A StopwatchEvent instance

ConstraintViolationBuilderInterface::setCause()

ConstraintViolationBuilderInterface setCause(mixed $cause) Sets the cause of the violation. Parameters mixed $cause The cause of the violation Return Value ConstraintViolationBuilderInterface This builder

CurrencyDataGenerator

class CurrencyDataGenerator extends AbstractDataGenerator The rule for compiling the currency bundle. Constants UNKNOWN_CURRENCY_ID EUROPEAN_COMPOSITE_UNIT_ID EUROPEAN_MONETARY_UNIT_ID EUROPEAN_UNIT_OF_ACCOUNT_XBC_ID EUROPEAN_UNIT_OF_ACCOUNT_XBD_ID TESTING_CURRENCY_CODE_ID ADB_UNIT_OF_ACCOUNT_ID GOLD_ID SILVER_ID PLATINUM_ID PALLADIUM_ID SUCRE_ID SPECIAL_DRAWING_RIGHTS_ID Methods __construct(GenrbCompiler $compiler, $dirName) from A

FlashBagInterface

interface FlashBagInterface implements SessionBagInterface FlashBagInterface. Methods string getName() Gets this bag's name. from SessionBagInterface initialize(array $array) Initializes the Bag. from SessionBagInterface string getStorageKey() Gets the storage key for this bag. from SessionBagInterface mixed clear() Clears out data from bag. from SessionBagInterface add(string $type, string $message) Adds a flash message for type. set(string $type, string|array $mess