ViolationPath::getIterator()

ViolationPathIterator getIterator() Returns a new iterator for this path. Return Value ViolationPathIterator

FormError::setOrigin()

setOrigin(FormInterface $origin) Sets the form that caused this error. This method must only be called once. Parameters FormInterface $origin The form that caused this error Exceptions BadMethodCallException If the method is called more than once

CodeExtension::formatFileFromText()

formatFileFromText($text) Parameters $text

HeaderBag::replace()

replace(array $headers = array()) Replaces the current HTTP headers by a new set. Parameters array $headers An array of HTTP headers

DigestAuthenticationEntryPoint::getRealmName()

string getRealmName() Return Value string

ExecutionContext::getValue()

mixed getValue() Returns the value that the validator is currently validating. If you want to retrieve the object that was originally passed to the validator, use {@link getRoot}. Return Value mixed The currently validated value

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

ProxyAdapter::getItem()

getItem($key) {@inheritdoc} Parameters $key

ExtensionInterface::getNodeTranslators()

callable[] getNodeTranslators() Returns node translators. These callables will receive the node as first argument and the translator as second argument. Return Value callable[]

NumberType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name