public function addCSS(string $stylesheet, $media = "screen")
    {
        $stylesheet = $this->stripSuffix($stylesheet, ".min", ".css");
        $this->CSS[$stylesheet] = array("path" => $stylesheet, "media" => $media);
        return $this;
    }
public function addCSS(string $stylesheet, $media = "screen")
    {
        $stylesheet = $this->stripSuffix($stylesheet, ".min", ".css");
        $this->CSS[$stylesheet] = array("path" => $stylesheet, "media" => $media);
        return $this;
    }
public function addCSS ( string $ stylesheet , $ media = "screen" ) { $ stylesheet = $ this -> stripSuffix ( $ stylesheet , ".min" , ".css" ) ; $ this -> CSS [ $ stylesheet ] = array ( "path" => $ stylesheet , "media" => $ media ) ; return $ this ; }
Add a CSS stylesheet to be loaded. This will strip the .min and .css suffixes
and add them to the stack of included stylesheets.
@param string $style The style sheet to be loaded
@return AssetManager Provides fluent interface
Add a CSS stylesheet to be loaded . This will strip the . min and . css suffixes and add them to the stack of included stylesheets .