src/Prettus/Repository/Generators/ControllerGenerator.php
public function getValidator()
    {
        $validatorGenerator = new ValidatorGenerator([
            'name' => $this->name,
        ]);

        $validator = $validatorGenerator->getRootNamespace() . '\\' . $validatorGenerator->getName();

        return 'use ' . str_replace([
            "\\",
            '/'
        ], '\\', $validator) . 'Validator;';
    }
public function getValidator()
    {
        $validatorGenerator = new ValidatorGenerator([
            'name' => $this->name,
        ]);

        $validator = $validatorGenerator->getRootNamespace() . '\\' . $validatorGenerator->getName();

        return 'use ' . str_replace([
            "\\",
            '/'
        ], '\\', $validator) . 'Validator;';
    }
public function getValidator ( ) { $ validatorGenerator = new ValidatorGenerator ( [ 'name' => $ this -> name , ] ) ; $ validator = $ validatorGenerator -> getRootNamespace ( ) . '\\' . $ validatorGenerator -> getName ( ) ; return 'use ' . str_replace ( [ "\\" , '/' ] , '\\' , $ validator ) . 'Validator;' ; }
Gets validator full class name

@return string
Gets validator full class name