Documentation

CaseSensitiveLiteral extends CaseSensitiveLiteralBase
in package

Rule wich defines case sensitive literal

Tags
author

gdever

Table of Contents

$literal  : string
Literal
__construct()  : mixed
Constructor
getLiteral()  : string
Method returns literal
validate()  : StringIterator
{@inheritdoc}
compare()  : bool
{@inheritdoc}

Properties

Methods

__construct()

Constructor

public __construct(string $literal) : mixed
Parameters
$literal : string

the defined literal

Return values
mixed

getLiteral()

Method returns literal

public getLiteral() : string
Return values
string

literal

compare()

{@inheritdoc}

protected compare(string $str1, string $str2) : bool
Parameters
$str1 : string
$str2 : string
Tags
see
CaseSensitiveLiteralBase::compare()
Return values
bool

Search results