vendor/php-flasher/flasher/Stamp/DelayStamp.php line 10

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the PHPFlasher package.
  4.  * (c) Younes KHOUBZA <younes.khoubza@gmail.com>
  5.  */
  6. namespace Flasher\Prime\Stamp;
  7. final class DelayStamp implements StampInterface
  8. {
  9.     /**
  10.      * @var int
  11.      */
  12.     private $delay;
  13.     /**
  14.      * @param int $delay
  15.      */
  16.     public function __construct($delay)
  17.     {
  18.         $this->delay $delay;
  19.     }
  20.     /**
  21.      * @return int
  22.      */
  23.     public function getDelay()
  24.     {
  25.         return $this->delay;
  26.     }
  27. }