Schema

class Schema extends Schema The schema used for the ACL system. Methods __construct(array $options, Connection $connection = null) Constructor addToSchema(Schema $schema) Merges ACL schema with the given schema. Details __construct(array $options, Connection $connection = null) Constructor Parameters array $options the names for tables Connection $connection addToSchema(Schema $schema) Merges

Definition::getArgument()

mixed getArgument(int $index) Gets an argument to pass to the service constructor/factory method. Parameters int $index Return Value mixed The argument value Exceptions OutOfBoundsException When the argument does not exist

Cookie::getValue()

string getValue() Gets the value of the cookie. Return Value string The cookie value

RangeType

class RangeType 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. from AbstractType string getBlockPrefix() Returns

Validator deprecated::validate()

ConstraintViolationListInterface validate(mixed $value, array|null $groups = null, bool $traverse = false, bool $deep = false) Validates a value. The accepted values depend on the {@link MetadataFactoryInterface} implementation. The signature changed with Symfony 2.5 (see {@link Validator\ValidatorInterface::validate()}. This signature will be disabled in Symfony 3.0. Parameters mixed $value The value to validate array|null $groups The validation groups to validate. bool $trav

AssetsHelper::getVersion()

string getVersion(string $path, string $packageName = null) Returns the version of an asset. Parameters string $path A public path string $packageName The name of the asset package to use Return Value string The asset version

ResolvedFormTypeInterface::createView()

FormView createView(FormInterface $form, FormView $parent = null) Creates a new form view for a form of this type. Parameters FormInterface $form The form to create a view for FormView $parent The parent view or null Return Value FormView The created form view

Finder::path()

Finder|SplFileInfo[] path(string $pattern) Adds rules that filenames must match. You can use patterns (delimited with / sign) or simple strings. $finder->path('some/special/dir') $finder->path('/some\/special\/dir/') // same as above Use only / as dirname separator. Parameters string $pattern A pattern (a regexp or a string) Return Value Finder|SplFileInfo[] The current Finder instance See also FilenameFilterIterator

AssetsHelper

class AssetsHelper extends Helper AssetsHelper helps manage asset URLs. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(Packages $packages) string getUrl(string $path, string $packageName = null) Returns the public url/path of an asset. string getVersion(string $path, string $packageName = null) Returns the version of an asset. string getName() Returns the canonical nam

AttributeBagInterface

interface AttributeBagInterface implements SessionBagInterface Attributes store. Methods string getName() Gets this bag's name. from SessionBagInterface initialize(array $array) Initializes the Bag. from SessionBagInterface string getStorageKey() Gets the storage key for this bag. from SessionBagInterface mixed clear() Clears out data from bag. from SessionBagInterface bool has(string $name) Checks if an attribute is defined. mixed get(string $name, mixed $default =