Class Socialveo\Core\exceptions\BadWordException

InheritanceSocialveo\Core\exceptions\BadWordException » Exception

Class BadWordException

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() BadWordException constructor. Socialveo\Core\exceptions\BadWordException
getBadWords() Get detected bad words Socialveo\Core\exceptions\BadWordException

Method Details

__construct() public method

BadWordException constructor.

public void __construct ( $message '', $badWords = [], $code 0, \Throwable $previous null )
$message string

[optional]]

$badWords array

[optional]

$code integer

[optional

$previous \Throwable|null

[optional]

getBadWords() public method

Get detected bad words

public array getBadWords ( )