Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Created May 26, 2017 00:09
Show Gist options
  • Save kurozumi/998a63cfb5adca308301ba874931b51c to your computer and use it in GitHub Desktop.
Save kurozumi/998a63cfb5adca308301ba874931b51c to your computer and use it in GitHub Desktop.
【EC-CUBE3】テンプレートを読み込む方法
<?php
$data = $this->app['twig']->getLoader()->getSource("PluginName/Resource/template/page.twig");
dump($data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment