PHP Class Movies\Movie

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

Protected Properties

Свойство Type Description
$actors Doctrine\Common\Collections\ArrayCollection | Person[]
$id integer
$release integer
$tagline string
$title string

Méthodes publiques

Méthode Description
__construct ( string $title, string | null $release = null )
addActor ( Person $person )
getActors ( ) : ArrayCollection | Person[]
getId ( ) : integer
getRelease ( ) : integer
getTagline ( ) : string
getTitle ( ) : string
removeActor ( Person $person )
setTagline ( string $tagline )
setTitle ( string $title )

Method Details

__construct() public méthode

public __construct ( string $title, string | null $release = null )
$title string
$release string | null

addActor() public méthode

public addActor ( Person $person )
$person Person

getActors() public méthode

public getActors ( ) : ArrayCollection | Person[]
Résultat Doctrine\Common\Collections\ArrayCollection | Person[]

getId() public méthode

public getId ( ) : integer
Résultat integer

getRelease() public méthode

public getRelease ( ) : integer
Résultat integer

getTagline() public méthode

public getTagline ( ) : string
Résultat string

getTitle() public méthode

public getTitle ( ) : string
Résultat string

removeActor() public méthode

public removeActor ( Person $person )
$person Person

setTagline() public méthode

public setTagline ( string $tagline )
$tagline string

setTitle() public méthode

public setTitle ( string $title )
$title string

Property Details

$actors protected_oe property

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

$id protected_oe property

protected int $id
Résultat integer

$release protected_oe property

protected int $release
Résultat integer

$tagline protected_oe property

protected string $tagline
Résultat string

$title protected_oe property

protected string $title
Résultat string