Fenos\Notifynder\Notifications\ExtraParams::__construct PHP Method

__construct() public method

Jsonable constructor.
public __construct ( $extraParams )
$extraParams
    public function __construct($extraParams)
    {
        if ($this->isJson($extraParams)) {
            $this->extraParams = json_decode($extraParams, true);
        } else {
            $this->extraParams = (array) $extraParams;
        }
    }