12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\View\Asset;
- /**
- * An abstraction for static view file (or resource) that may be embedded to a web page
- *
- * @api
- * @since 100.0.2
- */
- interface AssetInterface
- {
- /**
- * Retrieve URL pointing to a resource
- *
- * @return string
- */
- public function getUrl();
- /**
- * Retrieve type of contents
- *
- * @return string
- */
- public function getContentType();
- /**
- * Retrieve source content type
- *
- * @return string
- * @since 101.0.0
- */
- public function getSourceContentType();
- }
|