for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
*/
* MoneyReceiver class
* @author Laurent De Coninck <[email protected]>
class MoneyReceiver
{
* @var string
private $name;
private $firstname;
* @var int
private $id;
* @param string $name
* @param string $firstname
* @param int $id
public function __construct($name, $firstname, $id)
$this->name = $name;
$this->firstname = $firstname;
$this->id = $id;
}
* @return string
public function getName()
return $this->name;
public function getFirstname()
return $this->firstname;
* @return int
public function getId()
return $this->id;
public function getDisplayName()
return $this->firstname . ' ' . $this->name;