for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DiscordWebhook\Embed;
/**
* Class Field
*
* @package DiscordWebhook\Embed
* @author Scrummer <[email protected]>
*/
class Field
{
* @var string
private $name;
private $value;
* @var bool|null
private $isInline;
* @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;
public function getValue(): string
return $this->value;
* @param string $value
public function setValue(string $value): self
$this->value = $value;
* @return bool|null
public function getIsInline(): ?bool
return $this->isInline;
* @param bool|null $isInline
public function setIsInline(?bool $isInline): self
$this->isInline = $isInline;