original_string: private function ensureHomePath(JsonArray $metaData)
      {
          if ($metaData->has(AbstractPackageManipulatingTask::SETTING_HOME)) {
              return;
          }
          $metaData->set(AbstractPackageManipulatingTask::SETTING_HOME, $this->home->homeDir());
      }
code: private function ensureHomePath(JsonArray $metaData)
      {
          if ($metaData->has(AbstractPackageManipulatingTask::SETTING_HOME)) {
              return;
          }
          $metaData->set(AbstractPackageManipulatingTask::SETTING_HOME, $this->home->homeDir());
      }
code_tokens: private function ensureHomePath ( JsonArray $ metaData ) { if ( $ metaData -> has ( AbstractPackageManipulatingTask :: SETTING_HOME ) ) { return ; } $ metaData -> set ( AbstractPackageManipulatingTask :: SETTING_HOME , $ this -> home -> homeDir ( ) ) ; }
docstring: Ensure the home path has been set in the passed meta data.
  
  @param JsonArray $metaData The meta data to examine.
  
  @return void
docstring_tokens: Ensure the home path has been set in the passed meta data .