for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/phpviet/validation
*
* @copyright (c) PHP Viet
* @license [MIT](https://opensource.org/licenses/MIT)
*/
namespace PHPViet\Validation\Rules;
use Respect\Validation\Rules\AbstractRegexRule;
* @author Vuong Minh <[email protected]>
* @since 1.0.0
abstract class AbstractStaticRegexRule extends AbstractRegexRule
{
protected function getPregFormat(): string
return static::pregFormat();
}
abstract public static function pregFormat(): string;