Skip to content

mardraze/core-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== 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 %}




About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published