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