diff --git a/src/mibew/libs/classes/Mibew/Asset/AssetManager.php b/src/mibew/libs/classes/Mibew/Asset/AssetManager.php index 7935f609..29c3c8b0 100644 --- a/src/mibew/libs/classes/Mibew/Asset/AssetManager.php +++ b/src/mibew/libs/classes/Mibew/Asset/AssetManager.php @@ -93,7 +93,7 @@ class AssetManager implements AssetManagerInterface /** * {@inheritdoc} */ - public function addJsAsset($content, $type = AssetManagerInterface::RELATIVE_URL) + public function attachJs($content, $type = AssetManagerInterface::RELATIVE_URL) { $this->jsAssets[] = array( 'content' => $content, @@ -115,7 +115,7 @@ class AssetManager implements AssetManagerInterface /** * {@inheritdoc} */ - public function addCssAsset($content, $type = AssetManagerInterface::RELATIVE_URL) + public function attachCss($content, $type = AssetManagerInterface::RELATIVE_URL) { $this->cssAssets[] = array( 'content' => $content, diff --git a/src/mibew/libs/classes/Mibew/Asset/AssetManagerInterface.php b/src/mibew/libs/classes/Mibew/Asset/AssetManagerInterface.php index 62a4fa80..1d3c4f92 100644 --- a/src/mibew/libs/classes/Mibew/Asset/AssetManagerInterface.php +++ b/src/mibew/libs/classes/Mibew/Asset/AssetManagerInterface.php @@ -63,7 +63,7 @@ interface AssetManagerInterface * AssetManagerInterface::RELATIVE_URL or AssetManagerInterface::INLINE * constants. */ - public function addJsAsset($content, $type = self::ABSOLUTE_URL); + public function attachJs($content, $type = self::ABSOLUTE_URL); /** * Retrieves all attached and provided by plugins JavaScript assets. @@ -89,7 +89,7 @@ interface AssetManagerInterface * AssetManagerInterface::RELATIVE_URL or AssetManagerInterface::INLINE * constants. */ - public function addCssAsset($content, $type = self::ABSOLUTE_URL); + public function attachCss($content, $type = self::ABSOLUTE_URL); /** * Retrieves all attached and provided by plugins CSS assets.