Forms

class Forms Entry point of the Form component. Use this class to conveniently create new form factories: use Symfony\Component\Form\Forms; $formFactory = Forms::createFormFactory(); $form = $formFactory->createBuilder() ->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType') ->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType') ->add('age', 'Symfony\Component\Form\Extension\Core\Type\IntegerType') ->add('gender', 'Symfony\Component\Form\Ex

RenderTokenParser deprecated::parse()

Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A \Twig_Token instance Return Value Twig_Node A \Twig_Node instance

TimeValidator::checkTime()

static bool checkTime(int $hour, int $minute, int $second) Checks whether a time is valid. Parameters int $hour The hour int $minute The minute int $second The second Return Value bool Whether the time is valid

Component\Security\Core\Util

Classes ClassUtils Class related functionality for objects that might or might not be proxy objects at the moment. SecureRandom A secure random number generator implementation. StringUtils String utility functions. Interfaces SecureRandomInterface Interface that needs to be implemented by all secure random number generators.

Package::getUrl()

string getUrl(string $path) Returns an absolute or root-relative public path. Parameters string $path A path Return Value string The public path

ContextInterface

interface ContextInterface Holds information about the current request. Methods string getBasePath() Gets the base path. bool isSecure() Checks whether the request is secure or not. Details string getBasePath() Gets the base path. Return Value string The base path bool isSecure() Checks whether the request is secure or not. Return Value bool true if the request is secure, false otherwise

Client::getInternalRequest()

Request|null getInternalRequest() Returns the current BrowserKit Request instance. Return Value Request|null A BrowserKit Request instance

FullTransformer::getTransformers()

Transformer[] getTransformers() Return the array of Transformer objects. Return Value Transformer[] Associative array of Transformer objects (format char => Transformer)

ArrayNodeDefinition::canBeEnabled()

ArrayNodeDefinition canBeEnabled() Adds an "enabled" boolean to enable the current section. By default, the section is disabled. If any configuration is specified then the node will be automatically enabled: enableableArrayNode: {enabled: true, ...} # The config is enabled & default values get overridden enableableArrayNode: ~ # The config is enabled & use the default values enableableArrayNode: true # The config is enabled & use the default values enableableArrayNod

MessageCatalogue::addResource()

addResource(ResourceInterface $resource) Adds a resource for this collection. Parameters ResourceInterface $resource A resource instance