33 lines
488 B
PHP
33 lines
488 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of the PHPFlasher package.
|
||
|
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
|
||
|
*/
|
||
|
|
||
|
namespace Flasher\Prime\Stamp;
|
||
|
|
||
|
final class HopsStamp implements StampInterface
|
||
|
{
|
||
|
/**
|
||
|
* @var int
|
||
|
*/
|
||
|
private $amount;
|
||
|
|
||
|
/**
|
||
|
* @param int $amount
|
||
|
*/
|
||
|
public function __construct($amount)
|
||
|
{
|
||
|
$this->amount = $amount;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return int
|
||
|
*/
|
||
|
public function getAmount()
|
||
|
{
|
||
|
return $this->amount;
|
||
|
}
|
||
|
}
|