php - How to add a class alias in Laravel -


I added it to the compiler with Larvell 4 and I am able to use this API: < Pre> $ MailChimp = new \ Drewm \ MailChimp ();

How can I create an example of MailChimp () without such a route:

 $ MailChimp = new MailChimp ();    

You manually config / app.php : < / P>

  'aliases' = & gt; Array (// Other Larval nickname 'Melchipper' => Druym's Mailpap);   

You can now use MailChimp anywhere in the lहेरwail app.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -