PHP Class TextAnalysis\Documents\ContentDocument

Author: yooper
ファイルを表示 Open project: yooper/php-text-analysis

Protected Properties

Property Type Description
$content string
$counter
$id mixed

Public Methods

Method Description
__construct ( string $content, mixed $id = null )
getContent ( ) : string
getId ( ) : integer | string

Method Details

__construct() public method

public __construct ( string $content, mixed $id = null )
$content string
$id mixed uses a counter if empty

getContent() public method

public getContent ( ) : string
return string

getId() public method

public getId ( ) : integer | string
return integer | string

Property Details

$content protected_oe property

protected string $content
return string

$counter protected_oe static_oe property

protected static $counter

$id protected_oe property

protected mixed $id
return mixed