Skip to content

Instantly share code, notes, and snippets.

@lahaxearnaud
Last active November 9, 2018 16:58
Show Gist options
  • Save lahaxearnaud/dc08f60e61e7974b5d9a01bb4e7a7795 to your computer and use it in GitHub Desktop.
Save lahaxearnaud/dc08f60e61e7974b5d9a01bb4e7a7795 to your computer and use it in GitHub Desktop.
<?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