public function setId($id)
    {
        if (isset($this->id)) {
            throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::id');
        }
        $this->id = $id;
    }