private function getStylesMedia()
    {
        $media = $this->getArgument('media');
        $allowed = $this->getAllowedMedia();

        if ($media) {
            if (! $this->isAllowedMedia($media)) {
                throw new AssetException('Illegal media: Style assets acceptable madia '.implode(', ', $allowed));
            }

            return $media;
        }

        return reset($allowed);
    }
private function getStylesMedia()
    {
        $media = $this->getArgument('media');
        $allowed = $this->getAllowedMedia();

        if ($media) {
            if (! $this->isAllowedMedia($media)) {
                throw new AssetException('Illegal media: Style assets acceptable madia '.implode(', ', $allowed));
            }

            return $media;
        }

        return reset($allowed);
    }
private function getStylesMedia ( ) { $ media = $ this -> getArgument ( 'media' ) ; $ allowed = $ this -> getAllowedMedia ( ) ; if ( $ media ) { if ( ! $ this -> isAllowedMedia ( $ media ) ) { throw new AssetException ( 'Illegal media: Style assets acceptable madia ' . implode ( ', ' , $ allowed ) ) ; } return $ media ; } return reset ( $ allowed ) ; }
Gets media of styles asset.

@return string
Gets media of styles asset .