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

Add helper alias in services.yml #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add helper alias in services.yml #73

wants to merge 1 commit into from

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