for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wearesho\Yii\Entities;
use Wearesho\Yii\Interfaces\TokenableEntityInterface;
/**
* @since 1.2.2
*/
class TokenableEntity implements TokenableEntityInterface
{
public function __construct(
protected string $recipient,
protected string $text,
protected string $tokenType,
protected array $data,
protected array $deliveryOptions = []
)
}
public function getTokenData(): array
return $this->data;
public function getRecipient(): string
return $this->recipient;
public function getText(): string
return $this->text;
public function getTokenType(): string
return $this->tokenType;
public function getOptions(): array
return $this->deliveryOptions;