code: public static function hdd() 
      {
          $hdd        = new \StdClass();
          $hdd->total = @disk_total_space(".");
          $hdd->free  = @disk_free_space(".");
          
          return $hdd;
          
      }
docs: Server hdd information
  @return \StdClass
  ->total
  ->free