for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* @copyright (c) 2019 Mendel <[email protected]>
* @license see license.txt
*/
namespace drycart\di\tests\dummy;
/**
* @author mendel
class MagicClass
{
use \drycart\di\MagicServiceLocatorTrait;
public function getDummy() : Dummy
return $this->serviceLocator(Dummy::class);
}
public function getDummyPlus() : DummyPlusParameter
return $this->serviceLocator(DummyPlusParameter::class,['intDummy'=>5]);