SessionUnavailableException

class SessionUnavailableException extends AuthenticationException This exception is thrown when no session is available. Possible reasons for this are: a) The session timed out because the user waited too long. b) The user has disabled cookies, and a new session is started on each request. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationEx

SearchType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

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