PHP Class Movies\Movie

Show file Open project: graphaware/neo4j-php-ogm

Protected Properties

Property Type Description
$actors Doctrine\Common\Collections\ArrayCollection | Person[]
$id integer
$release integer
$tagline string
$title string

Public Methods

Method 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 method

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

addActor() public method

public addActor ( Person $person )
$person Person

getActors() public method

public getActors ( ) : ArrayCollection | Person[]
return Doctrine\Common\Collections\ArrayCollection | Person[]

getId() public method

public getId ( ) : integer
return integer

getRelease() public method

public getRelease ( ) : integer
return integer

getTagline() public method

public getTagline ( ) : string
return string

getTitle() public method

public getTitle ( ) : string
return string

removeActor() public method

public removeActor ( Person $person )
$person Person

setTagline() public method

public setTagline ( string $tagline )
$tagline string

setTitle() public method

public setTitle ( string $title )
$title string

Property Details

$actors protected property

protected ArrayCollection,Doctrine\Common\Collections|Person[],movies $actors
return Doctrine\Common\Collections\ArrayCollection | Person[]

$id protected property

protected int $id
return integer

$release protected property

protected int $release
return integer

$tagline protected property

protected string $tagline
return string

$title protected property

protected string $title
return string