mardraze/core

Maintainers

Details

github.com/mardraze/core

Source

Issues

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 1

Type:project

v3.0 2018-01-18 11:43 UTC

This package is not auto-updated.

Last update: 2024-04-22 11:44:38 UTC


README

=== You can make your software 2 time faster.

Problems:

  1. 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');
  1. 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 %}




core