Jarves\AssetHandler\AssetInfo::isScss PHP 메소드

isScss() 공개 메소드

Returns true if this is a stylesheet asset.
public isScss ( ) : boolean
리턴 boolean
    public function isScss()
    {
        if ($this->getContentType()) {
            return 'text/scss' === strtolower($this->getContentType());
        }
        if ($this->getPath()) {
            $exploded = explode('.', $this->getPath());
            return 'scss' === strtolower(array_pop($exploded));
        }
        return false;
    }