for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Validator\Rule\Trait;
trait SkipOnErrorTrait
{
public function skipOnError(bool $value): static
$new = clone $this;
$new->skipOnError = $value;
skipOnError
return $new;
}
public function shouldSkipOnError(): bool
return $this->skipOnError;