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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -