for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File was created 29.05.2015 21:25
*
* @author Karsten J. Gerber <[email protected]>
*/
namespace PeekAndPoke\Component\Psi\Psi;
use PeekAndPoke\Component\Psi\Functions\ParameterizedUnaryFunction;
* LessThanOrEqual checks if a value is less than or equal to the given parameter
* @see ParameterizedUnaryFunction
* @see IsLessThanOrEqualTest
class IsLessThanOrEqual extends ParameterizedUnaryFunction
{
* @param mixed $input
* @return bool
public function __invoke($input)
return $input <= $this->getValue();
}