BaseNode::getAttribute()

getAttribute($key, $default = null) Parameters $key $default

BaseNode::addEquivalentValue()

addEquivalentValue(mixed $originalValue, mixed $equivalentValue) Adds an equivalent value. Parameters mixed $originalValue mixed $equivalentValue

BaseNode

class BaseNode implements NodeInterface The base node class. Methods __construct(string $name, NodeInterface $parent = null) Constructor. setAttribute($key, $value) getAttribute($key, $default = null) hasAttribute($key) getAttributes() setAttributes(array $attributes) removeAttribute($key) setInfo(string $info) Sets an info message. string getInfo() Returns info message. setExample(string|array $example) Sets the example configuration fo

BaseMemcacheProfilerStorage deprecated::read()

Profile read(string $token) Reads data associated with the given token. The method returns false if the token does not exist in the storage. Parameters string $token A token Return Value Profile The profile associated with token

BaseMemcacheProfilerStorage deprecated::write()

bool write(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool Write operation successful

BaseMemcacheProfilerStorage deprecated

class BaseMemcacheProfilerStorage implements ProfilerStorageInterface deprecated Deprecated since Symfony 2.8, to be removed in Symfony 3.0. Use {@link FileProfilerStorage} instead. Base Memcache storage for profiling information in a Memcache. Constants TOKEN_PREFIX Methods __construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400) Constructor. array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int

BaseMemcacheProfilerStorage deprecated::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

BaseMemcacheProfilerStorage deprecated::purge()

purge() Purges all data from the database.

BaseDateTimeTransformer

class BaseDateTimeTransformer implements DataTransformerInterface Methods __construct(string $inputTimezone = null, string $outputTimezone = null) Constructor. Details __construct(string $inputTimezone = null, string $outputTimezone = null) Constructor. Parameters string $inputTimezone The name of the input timezone string $outputTimezone The name of the output timezone Exceptions UnexpectedTypeException if a timezone is not a string InvalidAr

BadMethodCallException

class BadMethodCallException extends BadMethodCallException implements ExceptionInterface Base BadMethodCallException for the Form component.