Documentation

FormatV2
in package

FormatV2

Provides validation function for version 2 format of pastes & comments.

Table of Contents

Methods

isValid()  : bool
version 2 format validator

Methods

isValid()

version 2 format validator

public static isValid(array<string|int, mixed> $message[, bool $isComment = false ]) : bool

Checks if the given array is a proper version 2 formatted, encrypted message.

Parameters
$message : array<string|int, mixed>
$isComment : bool = false
Tags
access

public

static
Return values
bool

        
On this page

Search results