-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from infinum/develop
Implementing Dependency injection
- Loading branch information
Showing
5 changed files
with
269 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/** | ||
* Assets manifest data interface. | ||
* | ||
* Used to define the way manifest item is retrieved from the manifest file. | ||
* | ||
* @since 0.7.0 | ||
* @package Eightshift_Libs\Assets | ||
*/ | ||
|
||
namespace Eightshift_Libs\Assets; | ||
|
||
/** | ||
* Interface Manifest_Data | ||
*/ | ||
interface Manifest_Data { | ||
|
||
/** | ||
* Return full path for specific asset from manifest.json | ||
* This is used for cache busting assets. | ||
* | ||
* @param string $key File name key you want to get from manifest. | ||
* @return string Full path to asset. | ||
* | ||
* @since 0.7.0 Init | ||
*/ | ||
public function get_assets_manifest_item( string $key ) : string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters