J
J
junart2016-07-08 21:28:35
Laravel
junart, 2016-07-08 21:28:35

How are custom classes created in Laravel?

For example, I need a separate class that I could access from different controllers.
This class should contain methods for loading and processing comments.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Nesmeyanov, 2016-07-08
@SerafimArts

class A 
{
    ...
}

T
Tesla, 2016-07-09
@Tesla

First phptherightway.ru
Then https://laravel.com/docs
And practice https://laracasts.com/series/laravel-5-from-scratch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question