AttributeBag::initialize()

initialize(array $attributes) Initializes the Bag. Parameters array $attributes

AttributeBag::getIterator()

ArrayIterator getIterator() Returns an iterator for attributes. Return Value ArrayIterator An \ArrayIterator instance

AttributeBag::remove()

mixed remove(string $name) Removes an attribute. Parameters string $name Return Value mixed The removed value or null when it does not exist

AttributeBag::clear()

mixed clear() Clears out data from bag. Return Value mixed Whatever data was contained.

AssetsInstallCommand

class AssetsInstallCommand extends ContainerAwareCommand Command that places bundle web assets into a given directory. Constants METHOD_COPY METHOD_ABSOLUTE_SYMLINK METHOD_RELATIVE_SYMLINK Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperS

AttributeBag

class AttributeBag implements AttributeBagInterface, IteratorAggregate, Countable This class relates to session attribute storage. Methods __construct(string $storageKey = '_sf2_attributes') Constructor. string getName() Gets this bag's name. setName($name) initialize(array $attributes) Initializes the Bag. string getStorageKey() Gets the storage key for this bag. bool has(string $name) Checks if an attribute is defined. mixed get(string $name, mixed $defau

AttributeBag::all()

array all() Returns attributes. Return Value array Attributes

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

AssetsHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

AssetsHelper deprecated

class AssetsHelper extends CoreAssetsHelper deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. AssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(string $basePath = null, string|array $baseUrls = array(), string $version = null, string $format = null, array $namedPackages = array()) Constructor. setDefau