for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: harry
* Date: 2/14/18
* Time: 1:15 PM
*/
namespace PhpRestfulApiResponse\Tests\unit\Lib;
class Book
{
private $authorName;
private $authorEmail;
private $title;
private $price;
private $year;
public function __construct($authorName, $authorEmail, $title, $price, $year)
$this->authorName = $authorName;
$this->authorEmail = $authorEmail;
$this->title = $title;
$this->price = $price;
$this->year = $year;
}
* @return mixed
public function getAuthorName()
return $this->authorName;
public function getAuthorEmail()
return $this->authorEmail;
public function getTitle()
return $this->title;
public function getPrice()
return $this->price;
public function getYear()
return $this->year;