|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / vendor / magento / framework / View / Asset / |
Filename | /home/dev2.destoffenstraat.com/vendor/magento/framework/View/Asset/LocalInterface.php |
Size | 1.3 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 07-Jan-2021 21:08 |
Last accessed | 23-Aug-2025 03:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?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();
}
/**
* 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();
}