![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/View/Asset/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View\Asset; /** * Interface of an asset with locally accessible source file * @api * @since 100.0.2 */ interface LocalInterface extends AssetInterface { /** * Get original source file where the asset contents can be read from * * Returns absolute path to file in local file system * * @return string */ public function getSourceFile(); /** * Get content of a local asset * * @return string */ public function getContent(); /** * Get an invariant relative path to file * * @return string */ public function getFilePath(); /** * Get context of the asset that contains data necessary to build an absolute path or URL to the file * * @return ContextInterface */ public function getContext(); /** * Get the module context of file path * * @return string */ public function getModule(); /** * Get a relative "context" path to the asset file * * This path includes both invariant and context part that can serve as an identifier of the file in current context * * @return string */ public function getPath(); }