Skip to content

Commit

Permalink
inited stream transport implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 22, 2017
1 parent 4bd0fb1 commit f8fd255
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/stream/Request.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
/**
* Tools to use API as ActiveRecord for Yii2
*
* @link https://github.com/hiqdev/yii2-hiart
* @package yii2-hiart
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/

namespace hiqdev\hiart\stream;

use hiqdev\hiart\AbstractRequest;

/**
* PHP stream request implementation.
*
* @author Andrii Vasyliev <sol@hiqdev.com>
*/
class Request extends AbstractRequest
{
protected $workerClass = RequestWorker::class;

protected function createWorker()
{
}
}
26 changes: 26 additions & 0 deletions src/stream/Response.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Tools to use API as ActiveRecord for Yii2
*
* @link https://github.com/hiqdev/yii2-hiart
* @package yii2-hiart
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/

namespace hiqdev\hiart\stream;

use hiqdev\hiart\AbstractResponse;

/**
* PHP stream response implementation.
*
* @author Andrii Vasyliev <sol@hiqdev.com>
*/
class Response extends AbstractResponse
{
/**
* @var ResponseWorker
*/
protected $worker;
}

0 comments on commit f8fd255

Please sign in to comment.