getNotification() public method

get message from notification
Since: 3.0.0
public getNotification ( string $type = null ) : mixed
$type string type of the notification
return mixed
コード例 #1
0
ファイル: ModuleTest.php プロジェクト: redaxmedia/redaxscript
 /**
  * testGetInvalid
  *
  * @since 2.1.0
  */
 public function testGetInvalid()
 {
     /* setup */
     $module = new Module();
     /* actual */
     $actual = $module->getNotification('invalidKey');
     /* compare */
     $this->assertFalse($actual);
 }