Dingo\Api\Http\Response::__construct PHP Method

__construct() public method

Create a new response instance.
public __construct ( mixed $content, integer $status = 200, array $headers = [], Dingo\Api\Transformer\Binding $binding = null ) : void
$content mixed
$status integer
$headers array
$binding Dingo\Api\Transformer\Binding
return void
    public function __construct($content, $status = 200, $headers = [], Binding $binding = null)
    {
        parent::__construct($content, $status, $headers);
        $this->binding = $binding;
    }