public function initiators($users = [])
    {
        if (empty($users)) {
            return $this;
        }
        $model = $this->noInitModel;
        return $this->andWhere([$model->createdByAttribute => BaseMongoEntityModel::compositeGUIDs($users)]);
    }
public function initiators($users = [])
    {
        if (empty($users)) {
            return $this;
        }
        $model = $this->noInitModel;
        return $this->andWhere([$model->createdByAttribute => BaseMongoEntityModel::compositeGUIDs($users)]);
    }
public function initiators ( $ users = [ ] ) { if ( empty ( $ users ) ) { return $ this ; } $ model = $ this -> noInitModel ; return $ this -> andWhere ( [ $ model -> createdByAttribute => BaseMongoEntityModel :: compositeGUIDs ( $ users ) ] ) ; }
Specify initiators.
@param string|array $users the guid of initiator if string, or guid array
of initiators if array.
@return static $this
Specify initiators .