AttributeBag::getName()

string getName() Gets this bag's name. Return Value string

AttributeBag::getIterator()

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

AttributeBag::count()

int count() Returns the number of attributes. Return Value int The number of attributes

AttributeBag::clear()

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

AttributeBag::all()

array all() Returns attributes. Return Value array Attributes

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

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

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::getUrl()

string getUrl(string $path, string $packageName = null) Returns the public url/path of an asset. If the package used to generate the path is an instance of UrlPackage, you will always get a URL and not a path. Parameters string $path A public path string $packageName The name of the asset package to use Return Value string The public path of the asset

AssetsHelper::getName()

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