We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm new in using Facades into Symfony and I'm having troubles make then work...
I've been followed the steps in the documentation but when I'm trying to use the Facade this error arise:
RuntimeException: "App\Facades\Container" facade has not been register. in vendor/indragunawan/facade-bundle/AbstractFacade.php:55
This is the code of my Facade:
<?php namespace App\Facades; use Indragunawan\FacadeBundle\AbstractFacade; /** * @method static object get(string $id) * Class Container */ class Container extends AbstractFacade { /** * Get the registered id of the service. * * @return string */ protected static function getFacadeAccessor() { return 'Symfony\Component\DependencyInjection\ContainerInterface'; } }
What I'm doing wrong?
BTW I'm using Symfony 3.4
Thanks in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm new in using Facades into Symfony and I'm having troubles make then work...
I've been followed the steps in the documentation but when I'm trying to use the Facade this error arise:
RuntimeException: "App\Facades\Container" facade has not been register. in vendor/indragunawan/facade-bundle/AbstractFacade.php:55
This is the code of my Facade:
What I'm doing wrong?
BTW I'm using Symfony 3.4
Thanks in advance
The text was updated successfully, but these errors were encountered: