\Iqrf\Repository\EntitiesCompany

Company entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getName()
getHomepage()
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,   name,   homepage) : 

Constructor

Parameters

id

Company ID

name

Company name

homepage

Company homepage

Returns

fromArray()

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

Creates a new company entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\Company —

Created company entity

getId()

getId() : 

Returns the company ID

Returns

Company ID

getName()

getName() : 

Returns the company name

Returns

Company name

getHomepage()

getHomepage() : 

Returns the company homepage

Returns

Company homepage