October\Rain\Assetic\AssetManager

Overview

AssetManager manages assets.


Protected Properties

protected array $assets


Public Methods

public clear()

public clear(): void

clear clears all assets.

public get()

public get(string $name): AssetInterface 

get an asset by name.

public getNames()

public getNames(): array 

getNames returns an array of asset names.

public has()

public has(string $name): Boolean 

has checks if the current asset manager has a certain asset.

public set()

public set(string $name, AssetInterface $asset): void

set registers an asset to the current asset manager.