protected function getModeratedByAttributeValue(): ?int
    {
        $user = Yii::$app->get('user', false);

        return $user && !$user->isGuest ? $user->id : null;
    }
protected function getModeratedByAttributeValue(): ?int
    {
        $user = Yii::$app->get('user', false);

        return $user && !$user->isGuest ? $user->id : null;
    }
protected function getModeratedByAttributeValue ( ) : ? int { $ user = Yii :: $ app -> get ( 'user' , false ) ; return $ user && ! $ user -> isGuest ? $ user -> id : null ; }
Get value for `moderatedByAttribute`

@return int|null
Get value for moderatedByAttribute