PHP Class GraphAware\Neo4j\OGM\Tests\Integration\UseCase\SimpleBlog\Model\SimpleBlogUser

Afficher le fichier Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Свойство Type Description
$id integer
$posts SimpleBlogWrote[]

Méthodes publiques

Méthode Description
__construct ( $name )
createPost ( $title )
getId ( ) : integer
getName ( ) : string
getPosts ( ) : SimpleBlogWrote[]

Method Details

__construct() public méthode

public __construct ( $name )

createPost() public méthode

public createPost ( $title )

getId() public méthode

public getId ( ) : integer
Résultat integer

getName() public méthode

public getName ( ) : string
Résultat string

getPosts() public méthode

public getPosts ( ) : SimpleBlogWrote[]
Résultat SimpleBlogWrote[]

Property Details

$id protected_oe property

protected int $id
Résultat integer

$posts protected_oe property

protected SimpleBlogWrote[],GraphAware\Neo4j\OGM\Tests\Integration\UseCase\SimpleBlog\Model $posts
Résultat SimpleBlogWrote[]