protected function setPropertiesInUser(UserModel $userRow)
    {
        $query = Query::getInstance()
            ->table($this->getUserPropertiesDefinition()->table())
            ->where("{$this->getUserPropertiesDefinition()->getUserid()} = :id", ['id' =>$userRow->getUserid()]);
        $userRow->setProperties($this->propertiesRepository->getByQuery($query));
    }
protected function setPropertiesInUser(UserModel $userRow)
    {
        $query = Query::getInstance()
            ->table($this->getUserPropertiesDefinition()->table())
            ->where("{$this->getUserPropertiesDefinition()->getUserid()} = :id", ['id' =>$userRow->getUserid()]);
        $userRow->setProperties($this->propertiesRepository->getByQuery($query));
    }
protected function setPropertiesInUser ( UserModel $ userRow ) { $ query = Query :: getInstance ( ) -> table ( $ this -> getUserPropertiesDefinition ( ) -> table ( ) ) -> where ( "{$this->getUserPropertiesDefinition()->getUserid()} = :id" , [ 'id' => $ userRow -> getUserid ( ) ] ) ; $ userRow -> setProperties ( $ this -> propertiesRepository -> getByQuery ( $ query ) ) ; }
Return all property's fields from this user

@param UserModel $userRow
@throws \ByJG\MicroOrm\Exception\InvalidArgumentException
@throws \ByJG\Serializer\Exception\InvalidArgumentException
Return all property s fields from this user