protected function relationsMap($relations, $callback)
    {
        try {
            if (is_callable($callback)) {
                array_map($callback, $relations);
            }
        } catch (\Exception $e) {
            Yii::$app->getDb()->getTransaction()->rollBack();
            throw new RelationException('Owner-model not saved due to unknown error');
        }
    }