original_string: protected function sysVersionDependency($version)
      {
          $sysVersion = new Version($this->sysMajorVersion.'.'.$this->sysMinorVersion.'.'.$this->sysPathVersion);
          $needVersion = new Version($version);
  
          if (!$sysVersion->isPartOf($needVersion))
          {
              $this->errors->add('module_dependency_sys', 'This module not made for current version of '.$this->systemName.', made for '.$version);
              return false;
          }
          return false;
      }
code: protected function sysVersionDependency($version)
      {
          $sysVersion = new Version($this->sysMajorVersion.'.'.$this->sysMinorVersion.'.'.$this->sysPathVersion);
          $needVersion = new Version($version);
  
          if (!$sysVersion->isPartOf($needVersion))
          {
              $this->errors->add('module_dependency_sys', 'This module not made for current version of '.$this->systemName.', made for '.$version);
              return false;
          }
          return false;
      }
code_tokens: protected function sysVersionDependency ( $ version ) { $ sysVersion = new Version ( $ this -> sysMajorVersion . '.' . $ this -> sysMinorVersion . '.' . $ this -> sysPathVersion ) ; $ needVersion = new Version ( $ version ) ; if ( ! $ sysVersion -> isPartOf ( $ needVersion ) ) { $ this -> errors -> add ( 'module_dependency_sys' , 'This module not made for current version of ' . $ this -> systemName . ', made for ' . $ version ) ; return false ; } return false ; }
docstring: Check system dependency
  
  @param string $version
  @return bool
docstring_tokens: Check system dependency