getNotification() public méthode

get message from notification
Since: 3.0.0
public getNotification ( string $type = null ) : mixed
$type string type of the notification
Résultat mixed
 /**
  * testGetInvalid
  *
  * @since 2.1.0
  */
 public function testGetInvalid()
 {
     /* setup */
     $module = new Module();
     /* actual */
     $actual = $module->getNotification('invalidKey');
     /* compare */
     $this->assertFalse($actual);
 }