|
@@ 171-177 (lines=7) @@
|
| 168 |
|
* @throws InvalidEntityException |
| 169 |
|
* @throws DuplicateCollectionIdentifierException |
| 170 |
|
*/ |
| 171 |
|
public function addEditorStyle($handle, array $dependencies = array()) |
| 172 |
|
{ |
| 173 |
|
if ($this->assets->hasStylesheetAsset($handle)) { |
| 174 |
|
return $this->assets->getStylesheetAsset($handle); |
| 175 |
|
} |
| 176 |
|
return $this->addCss($handle, $dependencies); |
| 177 |
|
} |
| 178 |
|
|
| 179 |
|
|
| 180 |
|
/** |
|
@@ 207-213 (lines=7) @@
|
| 204 |
|
* @throws InvalidEntityException |
| 205 |
|
* @throws DuplicateCollectionIdentifierException |
| 206 |
|
*/ |
| 207 |
|
public function addStyle($handle, array $dependencies = array()) |
| 208 |
|
{ |
| 209 |
|
if ($this->assets->hasStylesheetAsset($handle)) { |
| 210 |
|
return $this->assets->getStylesheetAsset($handle); |
| 211 |
|
} |
| 212 |
|
return $this->addCss($handle, $dependencies); |
| 213 |
|
} |
| 214 |
|
|
| 215 |
|
|
| 216 |
|
/** |