SplCaster

class SplCaster Casts SPL related classes to array representation. Methods static castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested) static castHeap(Iterator $c, array $a, Stub $stub, $isNested) static castDoublyLinkedList(SplDoublyLinkedList $c, array $a, Stub $stub, $isNested) static castFileInfo(SplFileInfo $c, array $a, Stub $stub, $isNested) static castFileObject(SplFileObject $c, array $a, Stub $stub, $isNested) static castFixedArray(SplF

SimpleChoiceList deprecated::getChoicesForValues()

array getChoicesForValues(array $values) Returns the choices corresponding to the given values. The choices can have any data type. The choices must be returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values An array of choice values. Not existing values in this array are ignored Return Value array An array of choices with ascending, 0-based numeric keys

FormDataCollector::buildPreliminaryFormTree()

buildPreliminaryFormTree(FormInterface $form) Assembles the data collected about the given form and its children as a tree-like data structure. The result can be queried using {@link getData()}. Parameters FormInterface $form A root form

MutableAclInterface::deleteClassAce()

deleteClassAce(int $index) Deletes a class-based ACE Parameters int $index

Component\HttpFoundation\File

Namespaces Symfony\Component\HttpFoundation\File\ExceptionSymfony\Component\HttpFoundation\File\MimeType Classes File A file in the file system. UploadedFile A file uploaded through a form.

ResponseListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

MutableAclInterface::insertClassAce()

insertClassAce(SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts a class-based ACE Parameters SecurityIdentityInterface $sid int $mask int $index bool $granting string $strategy

FormDataCollector::collectSubmittedData()

collectSubmittedData(FormInterface $form) Stores the submitted data of the given form and its children. Parameters FormInterface $form A root form

KernelInterface::locateResource()

string|array locateResource(string $name, string $dir = null, bool $first = true) Returns the file path for a given resource. A Resource can be a file or a directory. The resource name must follow the following pattern: "@BundleName/path/to/a/file.something" where BundleName is the name of the bundle and the remaining part is the relative path in the bundle. If $dir is passed, and the first segment of the path is "Resources", this method will look for a file named: $dir/<Bund

OutputFormatter::getStyle()

OutputFormatterStyleInterface getStyle(string $name) Gets style options from style with specified name. Parameters string $name Return Value OutputFormatterStyleInterface Exceptions InvalidArgumentException When style isn't defined