19 declare(strict_types=1);
    36             return $this->
if->identifier(
$id);
    39         $nc = $this->dic->globalScreen()->collector()->notifications();
    41         $new = $nc->getAmountOfNewNotifications();
    42         $old = $nc->getAmountOfOldNotifications();
    45             $mb->notificationCenter(
$id(
'notification_center'))
    46                 ->withAmountOfOldNotifications($new + $old)
    47                 ->withAmountOfNewNotifications($new)
    48                 ->withNotifications($nc->getNotifications())
    50                     return $this->dic->ctrl()->getCmd() !== 
'showLogout';
    55                             !$this->dic->user()->isAnonymous() &&
    56                             $this->dic->globalScreen()->collector()->notifications()->hasItems()
 
Interface IdentificationInterface. 
 
withAvailableCallable(callable $is_available)
 
withVisibilityCallable(callable $is_visible)
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins