<?php

namespace SteamRep;


abstract class SteamRepModel {
    protected $body;

    public function __construct(array $body) {
        $this->body = $body;
    }
}
<?php

namespace SteamRep;


abstract class SteamRepModel {
    protected $body;

    public function __construct(array $body) {
        $this->body = $body;
    }

    public function toArray(): array {
        return $this->body;
    }
}
Allow models to be exported to an array
Allow models to be exported to an array
