src/Flow/Directives/IncludeDirective.php
<?php
namespace Bavix\Flow\Directives;
use Bavix\Flow\Directive;
class IncludeDirective extends Directive
{
public function render(): string
{
// var_dump($this->data['options']['code']);
// die;
return '<?php include $this->flow->path(' . $this->data['path']['code'] . ')?>';
}
}