src/PHPCoverFish/Validator/Base/BaseCoverFishValidator.php
public function validateMapping(CoverFishMapping $coverMapping)
    {
        /** @var CoverFishResult $coverFishResult */
        $coverFishResult = new CoverFishResult();
        // prepare base results, clear all validation errors and warnings
        $coverFishResult = $this->prepareCoverFishResult($coverFishResult);
        // E-01: check for classFQN/DefaultCoverClass existence/mapping validation-error
        $coverFishResult = $this->validateDefaultCoverClassMapping($coverMapping, $coverFishResult);
        // E-02: check for invalid classFQN validation-error
        $coverFishResult = $this->validateClassFQNMapping($coverMapping, $coverFishResult);
        // E-03: check for invalid accessor validation-error
        $coverFishResult = $this->validateClassAccessorVisibility($coverMapping, $coverFishResult);
        // E-04: check for invalid method validation-error
        $coverFishResult = $this->validateClassMethod($coverMapping, $coverFishResult);

        return $coverFishResult;
    }
public function validateMapping(CoverFishMapping $coverMapping)
    {
        /** @var CoverFishResult $coverFishResult */
        $coverFishResult = new CoverFishResult();
        // prepare base results, clear all validation errors and warnings
        $coverFishResult = $this->prepareCoverFishResult($coverFishResult);
        // E-01: check for classFQN/DefaultCoverClass existence/mapping validation-error
        $coverFishResult = $this->validateDefaultCoverClassMapping($coverMapping, $coverFishResult);
        // E-02: check for invalid classFQN validation-error
        $coverFishResult = $this->validateClassFQNMapping($coverMapping, $coverFishResult);
        // E-03: check for invalid accessor validation-error
        $coverFishResult = $this->validateClassAccessorVisibility($coverMapping, $coverFishResult);
        // E-04: check for invalid method validation-error
        $coverFishResult = $this->validateClassMethod($coverMapping, $coverFishResult);

        return $coverFishResult;
    }
public function validateMapping ( CoverFishMapping $ coverMapping ) { /** @var CoverFishResult $coverFishResult */ $ coverFishResult = new CoverFishResult ( ) ; // prepare base results, clear all validation errors and warnings $ coverFishResult = $ this -> prepareCoverFishResult ( $ coverFishResult ) ; // E-01: check for classFQN/DefaultCoverClass existence/mapping validation-error $ coverFishResult = $ this -> validateDefaultCoverClassMapping ( $ coverMapping , $ coverFishResult ) ; // E-02: check for invalid classFQN validation-error $ coverFishResult = $ this -> validateClassFQNMapping ( $ coverMapping , $ coverFishResult ) ; // E-03: check for invalid accessor validation-error $ coverFishResult = $ this -> validateClassAccessorVisibility ( $ coverMapping , $ coverFishResult ) ; // E-04: check for invalid method validation-error $ coverFishResult = $ this -> validateClassMethod ( $ coverMapping , $ coverFishResult ) ; return $ coverFishResult ; }
main validator mapping "engine", if any of our cover validator checks will fail,
return corresponding result immediately ...

@param CoverFishMapping $coverMapping

@return CoverFishResult
main validator mapping engine if any of our cover validator checks will fail return corresponding result immediately ...