PHP Class League\CommonMark\Reference\Reference

Datei anzeigen Open project: colinodell/commonmark-php

Protected Properties

Property Type Description
$destination string
$label string
$title string

Public Methods

Method Description
__construct ( string $label, string $destination, string $title ) Constructor
getDestination ( ) : string
getLabel ( ) : string
getTitle ( ) : string
normalizeReference ( string $string ) : string Normalize reference label

Method Details

__construct() public method

Constructor
public __construct ( string $label, string $destination, string $title )
$label string
$destination string
$title string

getDestination() public method

public getDestination ( ) : string
return string

getLabel() public method

public getLabel ( ) : string
return string

getTitle() public method

public getTitle ( ) : string
return string

normalizeReference() public static method

This enables case-insensitive label matching
public static normalizeReference ( string $string ) : string
$string string
return string

Property Details

$destination protected_oe property

protected string $destination
return string

$label protected_oe property

protected string $label
return string

$title protected_oe property

protected string $title
return string