Introduce HTPPRequest DI call and constructor
This commit is contained in:
committed by
Hypolite Petovan
parent
5344efef71
commit
9d00e4f1bc
12
src/DI.php
12
src/DI.php
@@ -323,6 +323,18 @@ abstract class DI
|
||||
return self::$dice->create(Model\Storage\IStorage::class);
|
||||
}
|
||||
|
||||
//
|
||||
// "Network" namespace
|
||||
//
|
||||
|
||||
/**
|
||||
* @return Network\HTTPRequest
|
||||
*/
|
||||
public static function httpRequest()
|
||||
{
|
||||
return self::$dice->create(Network\HTTPRequest::class);
|
||||
}
|
||||
|
||||
//
|
||||
// "Repository" namespace
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user