class Block extends Collection (View source)

Properties

protected $collection_key
string $blockType
protected $boundingBoxType
protected $boundingBoxDataType
float $confidence
protected $paragraphsType
protected $paragraphsDataType
protected $propertyType
protected $propertyDataType

Methods

setBlockType($blockType)

No description

string
getBlockType()

No description

setBoundingBox(BoundingPoly $boundingBox)

No description

getBoundingBox()

No description

setConfidence($confidence)

No description

float
getConfidence()

No description

setParagraphs($paragraphs)

No description

getParagraphs()

No description

setProperty(TextProperty $property)

No description

getProperty()

No description

Details

setBlockType($blockType)

No description

Parameters

$blockType

string getBlockType()

No description

Return Value

string

setBoundingBox(BoundingPoly $boundingBox)

No description

Parameters

BoundingPoly $boundingBox

BoundingPoly getBoundingBox()

No description

Return Value

BoundingPoly

setConfidence($confidence)

No description

Parameters

$confidence

float getConfidence()

No description

Return Value

float

setParagraphs($paragraphs)

No description

Parameters

$paragraphs

Paragraph[] getParagraphs()

No description

Return Value

Paragraph[]

setProperty(TextProperty $property)

No description

Parameters

TextProperty $property

TextProperty getProperty()

No description

Return Value

TextProperty