Storage

class Storage Storage is the base class for all storage classes. Methods __construct(string $template) Constructor. string __toString() Returns the object string representation. string getContent() Returns the content of the template. Details __construct(string $template) Constructor. Parameters string $template The template name string __toString() Returns the object string representation.

AbstractType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

Descriptor

class Descriptor implements DescriptorInterface Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options

DefaultTranslator deprecated

class DefaultTranslator implements TranslatorInterface deprecated since version 2.7, to be removed in 3.0. Use Symfony\Component\Translation\IdentityTranslator instead. Simple translator implementation that simply replaces the parameters in the message IDs. Example usage: $translator = new DefaultTranslator(); echo $translator->trans( 'This is a {{ var }}.', array('{{ var }}' => 'donkey') ); // -> This is a donkey. echo $translator->transChoice( 'This is {{ cou

ClassMetadata::isGroupSequenceProvider()

bool isGroupSequenceProvider() Returns whether the "Default" group is overridden by a dynamic group sequence obtained by the validated objects. If this method returns true, the class must implement {@link \Symfony\Component\Validator\GroupSequenceProviderInterface}. This interface will be used to obtain the group sequence when an object of this class is validated. Return Value bool Returns true if the "Default" group is overridden by a dynamic group sequence

NodeInterface::getSpecificity()

Specificity getSpecificity() Returns node's specificity. Return Value Specificity

FrameworkBundle::build()

build(ContainerBuilder $container) Builds the bundle. It is only ever called once when the cache is empty. This method can be overridden to register compilation passes, other extensions, ... Parameters ContainerBuilder $container A ContainerBuilder instance

JsonEncode

class JsonEncode implements EncoderInterface Encodes JSON data. Methods __construct($bitmask) scalar encode(mixed $data, string $format, array $context = array()) Encodes PHP data to a JSON string. bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Details __construct($bitmask) Parameters $bitmask scalar encode(mixed $data, string $format, array $context =

Hour1200Transformer

class Hour1200Transformer extends HourTransformer Parser and formatter for 12 hour format (0-11). Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse

SimpleXMLElement deprecated::getArgumentsAsPhp()

mixed getArgumentsAsPhp(string $name, bool $lowercase = true) Returns arguments as valid PHP types. Parameters string $name bool $lowercase Return Value mixed