public function getSection(User $user) { $blogInfo = $this->getBlogInfo($user); return isset($blogInfo) ? $blogInfo->getSection() : null; }