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 WidthValidator
*
* @package Example\Validator
class WidthValidator extends AbstractTableValidator
{
* @return bool
public function isMet()
$width = $this->table->getWidth();
$maxWidth = 160;
$minWidth = 70;
return (($width >= $minWidth) && ($width <= $maxWidth));
}