PHP Class GraphAware\Neo4j\OGM\Tests\Integration\Model\Resource

Show file Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Property Type Description
$id integer
$name string
$userResources UserResource[] | ArrayCollection

Public Methods

Method Description
__construct ( $name )
getId ( ) : integer
getName ( ) : string
getUserResources ( ) : ArrayCollection | UserResource[]

Method Details

__construct() public method

public __construct ( $name )

getId() public method

public getId ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getUserResources() public method

public getUserResources ( ) : ArrayCollection | UserResource[]
return Doctrine\Common\Collections\ArrayCollection | UserResource[]

Property Details

$id protected property

protected int $id
return integer

$name protected property

protected string $name
return string

$userResources protected property

protected UserResource[],GraphAware\Neo4j\OGM\Tests\Integration\Model|ArrayCollection,Doctrine\Common\Collections $userResources
return UserResource[] | ArrayCollection