src/LIN3S/WPFoundation/Configuration/Assets/Assets.php
protected function addStylesheet(
        $name,
        $from = AssetsInterface::CSS,
        array $dependencies = [],
        $version = '1.0.0',
        $media = 'all'
    ) {
        wp_enqueue_style($name, $this->path($from, $name, 'css'), $dependencies, $version, $media);

        return $this;
    }
protected function addStylesheet(
        $name,
        $from = AssetsInterface::CSS,
        array $dependencies = [],
        $version = '1.0.0',
        $media = 'all'
    ) {
        wp_enqueue_style($name, $this->path($from, $name, 'css'), $dependencies, $version, $media);

        return $this;
    }
protected function addStylesheet ( $ name , $ from = AssetsInterface :: CSS , array $ dependencies = [ ] , $ version = '1.0.0' , $ media = 'all' ) { wp_enqueue_style ( $ name , $ this -> path ( $ from , $ name , 'css' ) , $ dependencies , $ version , $ media ) ; return $ this ; }
Method that wraps the WordPress internal "wp_enqueue_style"
simplifying the process adding some common default values.

@param string $name         The name of asset
@param string $from         The from location, by default is the CSS files default location
@param array  $dependencies Array which contains the dependencies of the given asset, by default is empty
@param string $version      The version, by default is "1.0.0"
@param string $media        The media, by default is "all"

@return $this Self class instance
Method that wraps the WordPress internal wp_enqueue_style simplifying the process adding some common default values .