add encoding service

This commit is contained in:
Jaeger
2017-09-21 13:12:20 +08:00
parent 43d8f71678
commit ad9b493fc0
5 changed files with 57 additions and 8 deletions

View File

@@ -28,9 +28,15 @@ class QueryList
*/
public function __construct()
{
$this->kernel = (new Kernel())->bootstrap();
$this->kernel = (new Kernel($this))->bootstrap();
}
public function __call($name, $arguments)
{
return $this->kernel->getBind($name)->call($this,...$arguments);
}
/**
* @return mixed
*/