for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the AppleApnPush package
*
* (c) Vitaliy Zhuk <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code
*/
namespace Apple\ApnPush\Protocol\Http;
/**
* Object for presentation http response
class Response
{
* @var int
private $statusCode;
* @var string
private $content;
* Constructor.
* @param int $statusCode
* @param string $content
public function __construct(int $statusCode, string $content)
$this->statusCode = $statusCode;
$this->content = $content;
}
* Get status code
* @return int
public function getStatusCode() : int
return $this->statusCode;
* Get content
* @return string
public function getContent() : string
return $this->content;