1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 05:36:54 +02:00

feat(entries): add ability to init custom macros and directives

This commit is contained in:
Awilum
2022-05-23 21:38:14 +03:00
parent 6a4bed1acf
commit 93d86d8b55

View File

@@ -116,7 +116,7 @@ class Entries
*
* @access public
*/
private function initFieldsMacros(array $macros): void
private function initMacros(array $macros): void
{
foreach ($macros as $key => $value) {
if ($key == 'debug') {
@@ -136,7 +136,7 @@ class Entries
*
* @access public
*/
private function initFieldsDirectives(array $directives): void
private function initDirectives(array $directives): void
{
foreach ($directives as $key => $value) {
if (filesystem()->file(ROOT_DIR . $value['path'])->exists()) {