src/Entity.php
public function getValidator()
    {
        if (!$this->validator) {
            $this->validator = new Validator($this);
        }
        return $this->validator->onEntity();
    }
public function getValidator()
    {
        if (!$this->validator) {
            $this->validator = new Validator($this);
        }
        return $this->validator->onEntity();
    }
public function getValidator ( ) { if ( ! $ this -> validator ) { $ this -> validator = new Validator ( $ this ) ; } return $ this -> validator -> onEntity ( ) ; }
Get entity validator

@return \UniMapper\Validator
Get entity validator