public function getRelationsForModel(Model $model) {
        if (empty($this->models)) {
            throw new \LogicException('AujaConfigurator not configured yet! Call configure first.');
        }

        return !is_null($model) && isset($this->relations[$model->getName()]) ? $this->relations[$model->getName()] : [];
    }