Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/internal/Magento/Framework/View/Asset/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ private function getDefaultParameter($name)
* @param array $params
* @return File
* @throws LocalizedException
* @throws \UnexpectedValueException
*/
public function createAsset($fileId, array $params = [])
{
Expand Down Expand Up @@ -254,6 +255,7 @@ public function createAsset($fileId, array $params = [])
* Get current context for static view files
*
* @return \Magento\Framework\View\Asset\File\FallbackContext
* @throws \UnexpectedValueException
*/
public function getStaticViewFileContext()
{
Expand Down Expand Up @@ -413,6 +415,8 @@ public function createRemoteAsset($url, $contentType)
*
* @param string $fileId
* @return string
* @throws LocalizedException
* @throws \UnexpectedValueException
*/
public function getUrl($fileId)
{
Expand All @@ -428,6 +432,8 @@ public function getUrl($fileId)
* @param string $fileId
* @param array $params
* @return string
* @throws LocalizedException
* @throws \UnexpectedValueException
* @see getUrl()
*/
public function getUrlWithParams($fileId, array $params)
Expand Down