Notification.php
public static function get(string $key)
    {
        return isset(Notification::$notifications[$key]) ? Notification::$notifications[$key] : null;
    }
public static function get(string $key)
    {
        return isset(Notification::$notifications[$key]) ? Notification::$notifications[$key] : null;
    }
public static function get ( string $ key ) { return isset ( Notification :: $ notifications [ $ key ] ) ? Notification :: $ notifications [ $ key ] : null ; }
Returns a specific variable from the Notifications array.

echo Notification::get('success');
echo Notification::get('errors');

@param  string $key Variable name
@return mixed
Returns a specific variable from the Notifications array .