mardraze / core
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Type:project
Requires
- symfony/symfony: 3.*
This package is not auto-updated.
Last update: 2025-02-24 15:44:51 UTC
README
=== You can make your software 2 time faster.
Problems:
- How to take parameter or service instance in Controller? In Command? In Service? In Twig Helper? In Event Listener?
Everywhere simmilar
$this->depedencies->getParameter('param_name');
- SHow to send email faster?
$this->depedencies->sendEmail('email@example.com', 'AppBundle:Email:sample_email.html.twig', array('name' => 'Marcin'));
#AppBundle:Email:sample_email.html.twig'
{%block subject%}Example email to {{name}}{% endblock %}
{%block body%}Hello {{name}}{% endblock %}