Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Conversation

@liviucmg
Copy link

It would be very useful to add a helper alias in services.yml so that RequireJSHelper can be used inside PHP templates like so:

/* @var Hearsay\RequireJSBundle\Templating\Helper\RequireJSHelper $requireJs */
$requireJs = $view['require_js'];
echo $requireJs->initialize();

Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant