id = $id; $this->class = $class; $this->relations = $relations; $this->connection = $connection; } }