original_string: protected static function getInfo()
      {
          $files = self::getFiles();
          //
          foreach ($files as $path) {
              $data = self::convert(self::readFile($path.'/vinala.json'), $path);
              $data = $data['system'];
              $data['path'] = $path;
  
              if (array_key_exists('alias', $data)) {
                  self::$infos[$data['alias']] = $data;
              } else {
                  // die($path."/.info");
              }
          }
          //
          return self::$infos;
      }
code: protected static function getInfo()
      {
          $files = self::getFiles();
          //
          foreach ($files as $path) {
              $data = self::convert(self::readFile($path.'/vinala.json'), $path);
              $data = $data['system'];
              $data['path'] = $path;
  
              if (array_key_exists('alias', $data)) {
                  self::$infos[$data['alias']] = $data;
              } else {
                  // die($path."/.info");
              }
          }
          //
          return self::$infos;
      }
code_tokens: protected static function getInfo ( ) { $ files = self :: getFiles ( ) ; // foreach ( $ files as $ path ) { $ data = self :: convert ( self :: readFile ( $ path . '/vinala.json' ) , $ path ) ; $ data = $ data [ 'system' ] ; $ data [ 'path' ] = $ path ; if ( array_key_exists ( 'alias' , $ data ) ) { self :: $ infos [ $ data [ 'alias' ] ] = $ data ; } else { // die($path."/.info"); } } // return self :: $ infos ; }
docstring: Get infos about plug-ins.
docstring_tokens: Get infos about plug - ins .