public function getAllAsObject(array $options = [])
    {
        $result = $this->getAll($options);
        if (count($result) === 0) {
            return new \stdClass();
        }

        return $result;
    }