for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Resta\Request;
abstract class RequestAbstract
{
/**
* @var array $inputs
*/
protected $inputs = [];
* @var array $origin
protected $origin = [];
* get inputs
*
* @return array
protected function get()
return $this->inputs;
}
* get client objects
protected function getClientObjects()
return array_diff_key($this->getObjects(),['inputs'=>[]]);
* get object vars
protected function getObjects()
return get_object_vars($this);
* get origin
protected function getOrigin()
return $this->origin;