for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kontrolio\Rules\Core;
use Kontrolio\Rules\AbstractComparisonRule;
/**
* Greater than validation rule.
*
* @package Kontrolio\Rules\Core
*/
class GreaterThan extends AbstractComparisonRule
{
* Validates input.
* @param mixed $input
* @return bool
public function isValid($input = null)
return $input > $this->value;
}