PHP Class Scalr\Tests\Fixtures\Model\Entity\TestEntity2

Author: N.V.
Inheritance: extends Scalr\Model\AbstractEntity
Show file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$data string
$id integer

Protected Properties

Property Type Description
$_settings Scalr\Model\Collections\SettingsCollection Entity properties

Public Methods

Method Description
__get ( string $name ) : mixed Magic getter.
save ( )

Method Details

__get() public method

Gets the values of the fields that require initialization.
public __get ( string $name ) : mixed
$name string Name of property that is accessed
return mixed Returns property value

save() public method

See also: AbstractEntity::save()
public save ( )

Property Details

$_settings protected property

Entity properties
protected SettingsCollection,Scalr\Model\Collections $_settings
return Scalr\Model\Collections\SettingsCollection

$data public property

public string $data
return string

$id public property

public int $id
return integer