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

IntlBundleReader

class IntlBundleReader implements BundleReaderInterface Reads binary .res resource bundles. Methods mixed read(string $path, string $locale) Reads a resource bundle. Details mixed read(string $path, string $locale) Reads a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to read. Return Value mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.

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

CallbackValidator

class CallbackValidator extends ConstraintValidator Validator for Callback constraint. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate($object, Constraint $constraint) Checks if the passed value is valid. Details