Loader tags and modifiers for Fenom from FS

Just like Smarty.

Install

Use composer:

{  
    "require": {
        "fenom/fs-entity-loader": "1.*"
    }
}

Setup

Add traits into your Fenom class:

class MyFenom extends Fenom {
    use Fenom\EntityLoaderTrait;
    use Fenom\FSEntityLoaderTrait;
}

Use

$fenom->addPluginDir('./plugins');

Format