public function addStyle(MaterializedResource $resource, $mediaType = 'all')
    {
        $this->styles[$resource->getPath()] = array(
            'resource' => $resource,
            'content' => $resource->getContent(),
            'media' => $mediaType,
        );
    }
public function addStyle(MaterializedResource $resource, $mediaType = 'all')
    {
        $this->styles[$resource->getPath()] = array(
            'resource' => $resource,
            'content' => $resource->getContent(),
            'media' => $mediaType,
        );
    }
public function addStyle ( MaterializedResource $ resource , $ mediaType = 'all' ) { $ this -> styles [ $ resource -> getPath ( ) ] = array ( 'resource' => $ resource , 'content' => $ resource -> getContent ( ) , 'media' => $ mediaType , ) ; }
Adds a style sheet.
Adds a style sheet .