src/Foundation/DI.php
public function onConstruct()
    {
        $this->request = \PhalApi\Foundation\Request::class;
        $this->response = \PhalApi\Responses\Json::class;
    }
public function onConstruct()
    {
        $this->request = \PhalApi\Foundation\Request::class;
        $this->response = \PhalApi\Responses\Json::class;
    }
service 级的构造函数