Piwik\Notification::__construct PHP Method

__construct() public method

Constructor.
public __construct ( string $message )
$message string The notification message.
    public function __construct($message)
    {
        if (empty($message)) {
            throw new \Exception('No notification message given');
        }
        $this->message = $message;
    }