PHP Class Imbo\Model\Group

Author: Christer Edvartsen ([email protected])
Inheritance: implements Imbo\Model\ModelInterface
Show file Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
getData ( )
getName ( ) : string Get the group name
getResources ( ) : string[] Get the group resources
setName ( string $name ) : self Set the group name
setResources ( array $resources = [] ) : self Set the group resources

Method Details

getData() public method

public getData ( )

getName() public method

Get the group name
public getName ( ) : string
return string

getResources() public method

Get the group resources
public getResources ( ) : string[]
return string[]

setName() public method

Set the group name
public setName ( string $name ) : self
$name string The name of the group
return self

setResources() public method

Set the group resources
public setResources ( array $resources = [] ) : self
$resources array
return self