for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Nil Portugués Calderó <[email protected]>
* Date: 9/20/14
* Time: 11:22 AM
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NilPortugues\Validator\Attribute;
use NilPortugues\Validator\AbstractValidator;
* Class GenericAttribute
* @package NilPortugues\Validator\Attribute
class GenericAttribute extends AbstractValidator
{
* @return $this
public function isRequired()
$this->addCondition(__METHOD__);
return $this;
}
public function isNotNull()