PHP Class Movies\Person

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

Protected Properties

Свойство Type Description
$born integer
$id integer
$movies Doctrine\Common\Collections\ArrayCollection | Movie[]
$name string

Méthodes publiques

Méthode Description
__construct ( string $name, integer | null $born = null )
addMovie ( Movie $movie )
getBorn ( ) : integer
getId ( ) : integer
getMovies ( ) : ArrayCollection | Movie[]
getName ( ) : string
removeMovie ( Movie $movie )
setBorn ( integer $year )

Method Details

__construct() public méthode

public __construct ( string $name, integer | null $born = null )
$name string
$born integer | null

addMovie() public méthode

public addMovie ( Movie $movie )
$movie Movie

getBorn() public méthode

public getBorn ( ) : integer
Résultat integer

getId() public méthode

public getId ( ) : integer
Résultat integer

getMovies() public méthode

public getMovies ( ) : ArrayCollection | Movie[]
Résultat Doctrine\Common\Collections\ArrayCollection | Movie[]

getName() public méthode

public getName ( ) : string
Résultat string

removeMovie() public méthode

public removeMovie ( Movie $movie )
$movie Movie

setBorn() public méthode

public setBorn ( integer $year )
$year integer

Property Details

$born protected_oe property

protected int $born
Résultat integer

$id protected_oe property

protected int $id
Résultat integer

$movies protected_oe property

protected ArrayCollection,Doctrine\Common\Collections|Movie[],movies $movies
Résultat Doctrine\Common\Collections\ArrayCollection | Movie[]

$name protected_oe property

protected string $name
Résultat string