for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* User: alec
* Date: 19.11.18
* Time: 19:52
*/
declare(strict_types=1);
namespace AlecRabbit\Traits;
trait Nameable
{
/** @var string */
protected $name;
* @return string
public function getName(): string
return $this->name;
}
* @param string $name
* @return self
public function setName(string $name): self
$this->name = $name;
return $this;