Respect\Validation\Validator::getFactory PHP Method

getFactory() protected static method

protected static getFactory ( ) : Factory
return Factory
    protected static function getFactory()
    {
        if (!static::$factory instanceof Factory) {
            static::$factory = new Factory();
        }
        return static::$factory;
    }