for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Defr\ValueObject;
use DateTime;
use DateTimeInterface;
final class Person
{
/**
* @var string
*/
private $name;
* @var DateTimeInterface
private $birthday;
private $address;
* @param string $name
* @param DateTimeInterface $birthday
* @param string $address
public function __construct($name, DateTimeInterface $birthday, $address)
$this->name = $name;
$this->birthday = $birthday;
$this->address = $address;
}
* @return string
public function getName()
return $this->name;
* @return DateTime
public function getBirthday()
return $this->birthday;
public function getAddress()
return $this->address;