for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DiscordWebhook\Embed\Traits;
/**
* Trait NamableTrait
*
* @package DiscordWebhook\Embed\Traits
* @author Scrummer <[email protected]>
*/
trait NameableTrait
{
* @var string|null
private $name;
* @return string|null
public function getName(): ?string
return $this->name;
}
* @param string|null $name
* @return self
public function setName(?string $name): self
$this->name = $name;
return $this;