fixed all tests

This commit is contained in:
Antonio Ramirez
2016-12-11 21:34:22 +01:00
parent 4588d77129
commit 4c9b9671b5
37 changed files with 214 additions and 135 deletions

View File

@ -29,13 +29,15 @@ trait ContainerTrait
*
* @param string $class he class name or an alias name (e.g. `foo`) that was previously registered via [[set()]]
* or [[setSingleton()]].
* @param array $params
*
* @param array $params constructor parameters
* @param array $config attributes
*
* @return object
*/
public function make($class, $params = [])
public function make($class, $params = [], $config = [])
{
return $this->getDi()->get($class, $params);
return $this->getDi()->get($class, $params, $config);
}
/**