-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for mixin call dump with an outer node
split: b754ddb6648cd7dce85d24e5bcfb69e3a8c4bb6d
- Loading branch information
1 parent
1a59469
commit 7888794
Showing
4 changed files
with
109 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace Phug\Compiler; | ||
|
||
/** | ||
* Interface NormalizerInterface. | ||
* | ||
* An interface for paths normalization. | ||
*/ | ||
interface NormalizerInterface | ||
{ | ||
/** | ||
* Normalize the string of a relative or absolute path. | ||
* | ||
* @param string $path the path to normalize. | ||
* | ||
* @return string | ||
*/ | ||
public function normalize($path); | ||
} |
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,18 @@ | ||
<?php | ||
|
||
namespace Phug\Compiler; | ||
|
||
/** | ||
* Interface WithUpperLocatorInterface. | ||
* | ||
* An interface for object than can have an upper locator. | ||
*/ | ||
interface WithUpperLocatorInterface | ||
{ | ||
/** | ||
* Set a master locator to use before the internal one. | ||
* | ||
* @param LocatorInterface|null $upperLocator | ||
*/ | ||
public function setUpperLocator($upperLocator); | ||
} |