Lime\App::style PHP Method

style() public method

Get style inc. markup
public style ( String $href, $version = false ) : String
$href String
return String
    public function style($href, $version = false)
    {
        $list = [];
        foreach ((array) $href as $style) {
            $ispath = strpos($style, ':') !== false && !preg_match('#^(|http\\:|https\\:)//#', $style);
            $list[] = '<link href="' . ($ispath ? $this->pathToUrl($style) : $style) . ($version ? "?ver={$version}" : "") . '" type="text/css" rel="stylesheet">';
        }
        return implode("\n", $list);
    }