original_string: protected function getPackageInformation($package)
      {
          $location = ($package['location'] === 'local') ? 'Local' : 'Vendor';
  
          $type = Str::title($package['type']);
  
          if ($this->packages->isEnabled($package['slug'])) {
              $status = 'Enabled';
          } else {
              $status = 'Disabled';
          }
  
          return array(
              'name'     => $package['name'],
              'slug'     => $package['slug'],
              'order'    => $package['order'],
              'location' => $location,
              'type'     => $type,
              'status'   => $status,
          );
      }
code: protected function getPackageInformation($package)
      {
          $location = ($package['location'] === 'local') ? 'Local' : 'Vendor';
  
          $type = Str::title($package['type']);
  
          if ($this->packages->isEnabled($package['slug'])) {
              $status = 'Enabled';
          } else {
              $status = 'Disabled';
          }
  
          return array(
              'name'     => $package['name'],
              'slug'     => $package['slug'],
              'order'    => $package['order'],
              'location' => $location,
              'type'     => $type,
              'status'   => $status,
          );
      }
code_tokens: protected function getPackageInformation ( $ package ) { $ location = ( $ package [ 'location' ] === 'local' ) ? 'Local' : 'Vendor' ; $ type = Str :: title ( $ package [ 'type' ] ) ; if ( $ this -> packages -> isEnabled ( $ package [ 'slug' ] ) ) { $ status = 'Enabled' ; } else { $ status = 'Disabled' ; } return array ( 'name' => $ package [ 'name' ] , 'slug' => $ package [ 'slug' ] , 'order' => $ package [ 'order' ] , 'location' => $ location , 'type' => $ type , 'status' => $ status , ) ; }
docstring: Returns Package manifest information.
  
  @param string $package
  
  @return array
docstring_tokens: Returns Package manifest information .