InputDefinition::getArgumentDefaults()

array getArgumentDefaults() Gets the default values. Return Value array An array of default values

FormRendererInterface::renderCsrfToken()

string renderCsrfToken(string $tokenId) Renders a CSRF token. Use this helper for CSRF protection without the overhead of creating a form. Check the token in your action using the same token ID. $csrfProvider = $this->get('security.csrf.tokengenerator'); if (!$csrfProvider->isCsrfTokenValid('rmuser_'.$user->getId(), $token)) { throw new \RuntimeException('CSRF attack detected.'); } Parameters string $tokenId The ID of the CSRF token Return Value string A CSRF to

Component\Intl\Collator

Classes Collator Replacement for PHP's native {@link \Collator} class.

FormField::isDisabled()

bool isDisabled() Check if the current field is disabled. Return Value bool

PropertyPathInterface::isProperty()

bool isProperty(int $index) Returns whether the element at the given index is a property. Parameters int $index The index in the property path Return Value bool Whether the element at this index is a property Exceptions OutOfBoundsException If the offset is invalid

JsonDescriptor

class JsonDescriptor extends Descriptor JSON descriptor. Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. from Descriptor Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options

CombinationExtension::translateIndirectAdjacent()

XPathExpr translateIndirectAdjacent(XPathExpr $xpath, XPathExpr $combinedXpath) Parameters XPathExpr $xpath XPathExpr $combinedXpath Return Value XPathExpr

Process::getExitCodeText()

null|string getExitCodeText() Returns a string representation for the exit code returned by the process. This method relies on the Unix exit code status standardization and might not be relevant for other operating systems. Return Value null|string A string representation for the exit status code, null if the Process is not terminated See also http://tldp.org/LDP/abs/html/exitcodes.html http://en.wikipedia.org/wiki/Unix_signal

ScopeInterface deprecated::getParentName()

getParentName()

Bundle::getNamespace()

string getNamespace() Gets the Bundle namespace. Return Value string The Bundle namespace