src/Support/View/AssetManager.php
public function registerStyleAsset($path, $type = null, $media = null, $rel = 'stylesheet')
    {
        if ( ! array_key_exists($path, $this->styleAssets)) {
            $this->styleAssets[ $path ] = [
                'type'  => $type,
                'media' => $media,
                'rel'   => $rel,
            ];
        }

        return $this;
    }
public function registerStyleAsset($path, $type = null, $media = null, $rel = 'stylesheet')
    {
        if ( ! array_key_exists($path, $this->styleAssets)) {
            $this->styleAssets[ $path ] = [
                'type'  => $type,
                'media' => $media,
                'rel'   => $rel,
            ];
        }

        return $this;
    }
public function registerStyleAsset ( $ path , $ type = null , $ media = null , $ rel = 'stylesheet' ) { if ( ! array_key_exists ( $ path , $ this -> styleAssets ) ) { $ this -> styleAssets [ $ path ] = [ 'type' => $ type , 'media' => $ media , 'rel' => $ rel , ] ; } return $ this ; }
Registers a CMS stylesheet asset.

@param string      $path
@param null|string $type
@param null|string $media
@param string      $rel
@return $this
Registers a CMS stylesheet asset .