original_string: protected function initializePackageData()
      {
          $filePath = $this->vendorDir . DIRECTORY_SEPARATOR . self::PACKAGE_DATA_FILENAME;
          if (!is_file($filePath)) {
              $this->packagesData = array();
          } else {
              $this->packagesData = json_decode(file_get_contents($filePath), true);
          }
      }
code: protected function initializePackageData()
      {
          $filePath = $this->vendorDir . DIRECTORY_SEPARATOR . self::PACKAGE_DATA_FILENAME;
          if (!is_file($filePath)) {
              $this->packagesData = array();
          } else {
              $this->packagesData = json_decode(file_get_contents($filePath), true);
          }
      }
code_tokens: protected function initializePackageData ( ) { $ filePath = $ this -> vendorDir . DIRECTORY_SEPARATOR . self :: PACKAGE_DATA_FILENAME ; if ( ! is_file ( $ filePath ) ) { $ this -> packagesData = array ( ) ; } else { $ this -> packagesData = json_decode ( file_get_contents ( $ filePath ) , true ) ; } }
docstring: Initialize the package data array if not set
docstring_tokens: Initialize the package data array if not set