for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Kerox\Messenger\Model\Callback;
class Optin
{
/**
* @var string
*/
protected $ref;
* Optin constructor.
public function __construct(string $ref)
$this->ref = $ref;
}
public function getRef(): string
return $this->ref;
* @return \Kerox\Messenger\Model\Callback\Optin
public static function create(array $callbackData): self
return new self($callbackData['ref']);