protected function assetRendered($assets, $type): void
    {
        $assets = (array) $assets;

        foreach ($assets as $asset) {
            $this->renderedTags[] = $type.'::'.$asset;
        }
    }
protected function assetRendered($assets, $type): void
    {
        $assets = (array) $assets;

        foreach ($assets as $asset) {
            $this->renderedTags[] = $type.'::'.$asset;
        }
    }
protected function assetRendered ( $ assets , $ type ) : void { $ assets = ( array ) $ assets ; foreach ( $ assets as $ asset ) { $ this -> renderedTags [ ] = $ type . '::' . $ asset ; } }
Indicate the asset is rendered.

@param array|string $assets The asset name or list of asset name
@param string       $type   The require tag type
Indicate the asset is rendered .