src/Processors/HardDisks.php
public function get()
    {
        $disks = [];

        $result = $this->connection->newQuery()->from(Classes::WIN32_LOGICALDISK)->get();

        foreach($result as $disk) {
            $disks[] = new HardDisk($disk);
        }

        return $disks;
    }
public function get()
    {
        $disks = [];

        $result = $this->connection->newQuery()->from(Classes::WIN32_LOGICALDISK)->get();

        foreach($result as $disk) {
            $disks[] = new HardDisk($disk);
        }

        return $disks;
    }
public function get ( ) { $ disks = [ ] ; $ result = $ this -> connection -> newQuery ( ) -> from ( Classes :: WIN32_LOGICALDISK ) -> get ( ) ; foreach ( $ result as $ disk ) { $ disks [ ] = new HardDisk ( $ disk ) ; } return $ disks ; }
Returns an array of all hard disks on the computer.

@return array
Returns an array of all hard disks on the computer .