public function getCalendars(array $options = []): array
    {
        $result = $conditions = [];

        if (!empty($options['conditions'])) {
            $conditions = $options['conditions'];
        }

        $query = $this->find()
                ->where($conditions)
                ->order(['name' => 'ASC'])
                ->all();
        $result = $query->toArray();

        if (empty($result)) {
            return $result;
        }

        foreach ($result as $item) {
            $item->event_types = $this->getEventTypes($item->event_types);
        }

        return $result;
    }