Documentation

BookIdentifier
in package

Table of Contents

Properties

$autoDetect  : bool
$scheme  : string|null
$value  : mixed

Methods

__construct()  : mixed
__toString()  : string
getScheme()  : string|null
getValue()  : string|null
toArray()  : array<string|int, mixed>
isDoi()  : bool
isIsbn()  : bool
isUuid()  : bool
parseIsbn()  : string|null
parseScheme()  : string

Properties

Methods

__construct()

public __construct([mixed $value = null ][, string|null $scheme = null ][, bool $autoDetect = true ]) : mixed
Parameters
$value : mixed = null
$scheme : string|null = null
$autoDetect : bool = true

Try to auto detect scheme, even if provided (default: true)

getScheme()

public getScheme() : string|null
Return values
string|null

getValue()

public getValue() : string|null
Return values
string|null

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

parseIsbn()

private parseIsbn() : string|null
Return values
string|null

parseScheme()

private parseScheme([string|null $scheme = null ]) : string
Parameters
$scheme : string|null = null
Return values
string

        
On this page

Search results