Beispiel #1
0
 /**
  * @return User
  *
  * TODO check the difference between from_id and user_id
  */
 public function getAuthor()
 {
     $fromId = $this->getRawValue('from_id');
     $userId = $this->getRawValue('user_id');
     return $this->getConnection()->users->getUser(Utils::getNotNull($fromId, $userId));
 }