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\Unary\AbstractParameterizedUnaryFunction;
* LessThanOrEqual does a non type safe comparison "=="
class IsLessThanOrEqual extends AbstractParameterizedUnaryFunction
{
* @param mixed $input
* @return bool
public function __invoke($input)
return $input <= $this->getValue();
}