public function checkVersion($generatorVersion)
    {
        if ($generatorVersion != Propel::VERSION) {
            $warning  = "Version mismatch: The generated model was build using propel '" . $generatorVersion;
            $warning .= " while the current runtime is at version '" . Propel::VERSION . "'";

            $logger = $this->getLogger();
            if ($logger) {
                $logger->warning($warning);
            } else {
                trigger_error($warning, E_USER_WARNING);
            }
        }
    }
public function checkVersion($generatorVersion)
    {
        if ($generatorVersion != Propel::VERSION) {
            $warning  = "Version mismatch: The generated model was build using propel '" . $generatorVersion;
            $warning .= " while the current runtime is at version '" . Propel::VERSION . "'";

            $logger = $this->getLogger();
            if ($logger) {
                $logger->warning($warning);
            } else {
                trigger_error($warning, E_USER_WARNING);
            }
        }
    }
public function checkVersion ( $ generatorVersion ) { if ( $ generatorVersion != Propel :: VERSION ) { $ warning = "Version mismatch: The generated model was build using propel '" . $ generatorVersion ; $ warning .= " while the current runtime is at version '" . Propel :: VERSION . "'" ; $ logger = $ this -> getLogger ( ) ; if ( $ logger ) { $ logger -> warning ( $ warning ) ; } else { trigger_error ( $ warning , E_USER_WARNING ) ; } } }
check whether the given propel generator version has the same version as
the propel runtime.

@param string $generatorVersion
check whether the given propel generator version has the same version as the propel runtime .