Skip to content
#

magic

Here are 580 public repositories matching this topic...

WaveHack
WaveHack commented Apr 20, 2019

Refactor classes (including tests) to resolve dependencies out of the IoC container with $this->dep = app($class::class) in the constructor, instead of through the constructor method arguments.

Constructor arg lists get quite long (see PopulationCalculator), and needs fixing test constructors whenever this changes.


Beep, boop, I'm a bot! Th

Improve this page

Add a description, image, and links to the magic topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the magic topic, visit your repo's landing page and select "manage topics."

Learn more