for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpAbac\Example;
class Visa
{
/** @var int **/
protected $id;
/** @var Country **/
protected $country;
/** @var \DateTime **/
protected $createdAt;
protected $lastRenewal;
/**
* @param int $id
* @return \PhpAbac\Example\Visa
*/
public function setId($id)
$this->id = $id;
return $this;
}
* @return int
public function getId()
return $this->id;
* @param Country $country
public function setCountry(Country $country)
$this->country = $country;
* @return Country
public function getCountry()
return $this->country;
* @param \DateTime $createdAt
public function setCreatedAt(\DateTime $createdAt)
$this->createdAt = $createdAt;
* @return \DateTime
public function getCreatedAt()
return $this->createdAt;
* @param \DateTime $lastRenewal
public function setLastRenewal(\DateTime $lastRenewal)
$this->lastRenewal = $lastRenewal;
public function getLastRenewal()
return $this->lastRenewal;