Skip to content

Instantly share code, notes, and snippets.

@lahaxearnaud
Last active November 9, 2018 16:58
Embed
What would you like to do?
<?php
namespace App\Message;
use App\Message\Interfaces\Mailer;
class ConfirmCommandMailer implements Mailer
{
/**
* @var int
*/
protected $commandId;
/**
* ConfirmCommandMailer constructor.
* @param int $commandId
*/
public function __construct(int $commandId)
{
$this->commandId = $commandId;
}
/**
* @return int
*/
public function getCommandId() :int
{
return $this->commandId;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment