for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author stev leibelt <[email protected]>
* @since 2013-08-12
*/
namespace Example\Validator;
* Class LengthValidator
*
* @package Example\Validator
class LengthValidator extends AbstractTableValidator
{
* @return bool
public function isMet()
$length = $this->table->getLength();
$maxLength = 210;
$minLength = 70;
return (($length >= $minLength) && ($length <= $maxLength));
}