public function set($index, AssetInterface $asset)
    {
        $this->data[$index] = $asset;
        $this->provides[]   = $asset->is();
        return $this;
    }
public function set($index, AssetInterface $asset)
    {
        $this->data[$index] = $asset;
        $this->provides[]   = $asset->is();
        return $this;
    }
public function set ( $ index , AssetInterface $ asset ) { $ this -> data [ $ index ] = $ asset ; $ this -> provides [ ] = $ asset -> is ( ) ; return $ this ; }
Store an Asset container by named index.

@param string $index The index the asset will be referenced by.
@param Proem\Service\AssetInterface $asset
@return Proem\Service\AssetManagerInterface
Store an Asset container by named index .