public function load($data)
    {
        foreach ($data as $row) {
            $this->put($row['id'], RequestEntity::createExisting($row));
        }

        return $this;
    }
public function load($data)
    {
        foreach ($data as $row) {
            $this->put($row['id'], RequestEntity::createExisting($row));
        }

        return $this;
    }
public function load ( $ data ) { foreach ( $ data as $ row ) { $ this -> put ( $ row [ 'id' ] , RequestEntity :: createExisting ( $ row ) ) ; } return $ this ; }
Load data to collection.

@param $data
@return static
Load data to collection .