/** * Short description of method resolve * * @access public * @author Lionel Lecaque, <*****@*****.**> * @param string version * @return boolean */ public function resolve($version) { $returnValue = (bool) false; switch ($version) { case VERSIONING_FILE_VERSION_MINE: case VERSIONING_FILE_VERSION_THEIRS: case VERSIONING_FILE_VERSION_WORKING: case VERSIONING_FILE_VERSION_BASE: break; default: throw new common_Exception('Invalid Argument'); } $returnValue = core_kernel_versioning_FileProxy::singleton()->resolve($this, $this->getAbsolutePath(), $version); return (bool) $returnValue; }