PHP 클래스 Movies\Person

파일 보기 프로젝트 열기: graphaware/neo4j-php-ogm

보호된 프로퍼티들

프로퍼티 타입 설명
$born integer
$id integer
$movies Doctrine\Common\Collections\ArrayCollection | Movie[]
$name string

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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

addMovie() 공개 메소드

public addMovie ( Movie $movie )
$movie Movie

getBorn() 공개 메소드

public getBorn ( ) : integer
리턴 integer

getId() 공개 메소드

public getId ( ) : integer
리턴 integer

getMovies() 공개 메소드

public getMovies ( ) : ArrayCollection | Movie[]
리턴 Doctrine\Common\Collections\ArrayCollection | Movie[]

getName() 공개 메소드

public getName ( ) : string
리턴 string

removeMovie() 공개 메소드

public removeMovie ( Movie $movie )
$movie Movie

setBorn() 공개 메소드

public setBorn ( integer $year )
$year integer

프로퍼티 상세

$born 보호되어 있는 프로퍼티

protected int $born
리턴 integer

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$movies 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections|Movie[],movies $movies
리턴 Doctrine\Common\Collections\ArrayCollection | Movie[]

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string