Button::setData()

FormInterface setData(mixed $modelData) Unsupported method. This method should not be invoked. Parameters mixed $modelData The data formatted as expected for the underlying object Return Value FormInterface The form instance

MetadataBag

class MetadataBag implements SessionBagInterface Metadata container. Adds metadata to the session. Constants CREATED UPDATED LIFETIME Methods __construct(string $storageKey = '_sf2_meta', int $updateThreshold) Constructor. initialize(array $array) Initializes the Bag. int getLifetime() Gets the lifetime that the session cookie was set with. stampNew(int $lifetime = null) Stamps a new session's metadata. string getStorageKey() Gets the storage key for thi

AclProvider

class AclProvider implements AclProviderInterface An ACL provider implementation. This provider assumes that all ACLs share the same PermissionGrantingStrategy. Constants MAX_BATCH_SIZE Methods __construct(Connection $connection, PermissionGrantingStrategyInterface $permissionGrantingStrategy, array $options, AclCacheInterface $cache = null) Constructor. array findChildren(ObjectIdentityInterface $parentOid, bool $directChildrenOnly = false) Retrieves all child object identiti

AclInterface::getObjectAces()

array getObjectAces() Returns all object-based ACEs associated with this ACL Return Value array

NativeSessionTokenStorage

class NativeSessionTokenStorage implements TokenStorageInterface Token storage that uses PHP's native session handling. Constants SESSION_NAMESPACE The namespace used to store values in the session. Methods __construct(string $namespace = self::SESSION_NAMESPACE) Initializes the storage with a session namespace. string getToken(string $tokenId) Reads a stored CSRF token. setToken(string $tokenId, string $token) Stores a CSRF token. bool hasToken(string $tokenId) Check

SlotsHelper

class SlotsHelper extends Helper SlotsHelper manages template slots. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper start(string $name) Starts a new slot. stop() Stops a slot. bool has(string $name) Returns true if the slot exists. string get(string $name, bool|string $default = false) Gets the slot value. set(string $name, string $content) Sets a slot value. bool output(

DbalSessionHandler::close()

close() {@inheritdoc}

CollectionToArrayTransformer::transform()

mixed transform($collection) Transforms a value from the original representation to a transformed representation. This method is called on two occasions inside a form field: When the form field is initialized with the data attached from the datasource (object or array). When data from a request is submitted using {@link Form::submit()} to transform the new input data back into the renderable format. For example if you have a date field and submit '2009-10-10' you might accept thi

StubIntl deprecated

class StubIntl extends IntlGlobals deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Globals\IntlGlobals} instead. Alias of {@link \Symfony\Component\Intl\Globals\IntlGlobals}. Constants U_ZERO_ERROR Indicates that no error occurred. U_ILLEGAL_ARGUMENT_ERROR Indicates that an invalid argument was passed. U_PARSE_ERROR Indicates that the parse() operation failed. Methods static bool isFailure(int $errorCode) Returns whether the error cod

PhpBundleReader

class PhpBundleReader implements BundleReaderInterface Reads .php resource bundles. Methods mixed read(string $path, string $locale) Reads a resource bundle. Details mixed read(string $path, string $locale) Reads a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to read. Return Value mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.