ValidatorBuilderInterface::addYamlMappings()

ValidatorBuilderInterface addYamlMappings(array $paths) Adds a list of YAML constraint mappings file to the validator. Parameters array $paths The paths to the mapping files Return Value ValidatorBuilderInterface The builder object

ContainerBuilder::setDefinition()

Definition setDefinition(string $id, Definition $definition) Sets a service definition. Parameters string $id The service identifier Definition $definition A Definition instance Return Value Definition the service definition Exceptions BadMethodCallException When this ContainerBuilder is frozen

MinuteTransformer

class MinuteTransformer extends Transformer Parser and formatter for minute format. 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 matching regul

Router::matchRequest()

array matchRequest(Request $request) Tries to match a request with a set of routes. If the matcher can not find information, it must throw one of the exceptions documented below. Parameters Request $request The request to match Return Value array An array of parameters Exceptions ResourceNotFoundException If no matching resource could be found MethodNotAllowedException If a matching resource was found but the request method is not allowed

HiddenType

class HiddenType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of th

FormField::getName()

string getName() Returns the name of the field. Return Value string The name of the field

Inline

class Inline Inline implements a YAML parser/dumper for the YAML inline syntax. Constants REGEX_QUOTED_STRING Methods static array parse(string $value, int $flags, array $references = array()) Converts a YAML string to a PHP array. static string dump(mixed $value, int $flags) Dumps a given PHP variable to a YAML string. static bool isHash(array $value) Check if given array is hash or just normal indexed array. static string parseScalar(string $scalar, int $flags, str

BooleanToStringTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a string into a Boolean. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not a string.

ExpressionExtension

class ExpressionExtension extends Twig_Extension ExpressionExtension gives a way to create Expressions from a template. Methods getFunctions() {@inheritdoc} createExpression($expression) string getName() Returns the name of the extension. Details getFunctions() {@inheritdoc} createExpression($expression) Parameters $expression string getName() Re

DescriptorHelper::describe()

describe(OutputInterface $output, object $object, array $options = array()) Describes an object if supported. Available options are: * format: string, the output format name * raw_text: boolean, sets output type as raw Parameters OutputInterface $output object $object array $options Exceptions InvalidArgumentException when the given format is not supported