on clean project in php (without framework),
i have class that i need available in all classes (for example log, db) , what is the best OOP way to do it available without global variable or call to new object all the time ?
Please sign in or create an account to participate in this conversation.
Use Markdown with
GitHub-flavored code blocks.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!