= 0 ? 'up' : 'down'; parent::__construct('Object incompatible with class revision,' . " {$direction}grade to version $createdWithVersion."); $this->createdWithVersion = $createdWithVersion; } /** * Return the version number of the library that the incompatible object was created with. * * @return string */ public function createdWithVersion() : string { return $this->createdWithVersion; } }