\Iqrf\Repository\EntitiesManufacturer

Manufacturer entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getCompanyId()
getId()
getName()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  id,  companyId,  name): 

Constructor

Parameters

id

Manufacturer name

companyId

Company ID

name

Manufacturer name

Returns

fromArray()

fromArray(mixed|string|string|int  data): \Iqrf\Repository\Entities\Manufacturer

Creates a new manufacturer entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\Manufacturer —

Created manufacturer entity from an array

getCompanyId()

getCompanyId(): 

Returns company ID

Returns

Company ID

getId()

getId(): 

Returns manufacturer ID

Returns

Manufacturer ID

getName()

getName(): 

Returns manufacturer name

Returns

Manufacturer name