PHP 클래스 Knp\Bundle\KnpBundlesBundle\Entity\Owner

파일 보기 프로젝트 열기: KnpLabs/KnpBundles 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$avatarUrl
$bundles Bundles the user owns
$createdAt User creation date (on this website)
$email User email
$fullName Full name of the user, like "Thibault Duplessis"
$githubId
$id
$location The user location
$name User name, e.g. "ornicar" Like in GitHub, this name is unique
$score Internal score of the User as the sum of his bundles' scores
$url

공개 메소드들

메소드 설명
__construct ( )
addBundle ( Bundle $bundle ) Add bundles
fromArray ( array $data ) Common method to fill in entity from array
getAvatarUrl ( ) : string Get avatarUrl
getBundleNames ( ) : array Get the names of this user bundles
getBundles ( ) : ArrayCollection Get bundles
getCreatedAt ( ) : DateTime Get createdAt
getEmail ( ) : string Get email
getFullName ( ) : string Get fullName
getGithubId ( ) : mixed
getGithubUrl ( ) : string Owner profile url on GitHub
getId ( ) : integer Get id
getLocation ( ) : string Get location
getName ( ) : string Get name
getNbBundles ( ) : integer Count the user bundles
getScore ( ) : integer Get score
getUrl ( ) : string Get url
hasBundles ( ) : boolean
removeBundle ( Bundle $bundle ) Remove bundles
setAvatarUrl ( string $avatarUrl ) Set avatarUrl
setCreatedAt ( DateTime $createdAt ) Set createdAt
setEmail ( string $email ) Set email
setFullName ( string $fullName ) Set fullName
setGithubId ( string $githubId )
setLocation ( string $location ) Set location
setName ( string $name ) Set name
setScore ( integer $score ) Set score
setUrl ( string $url ) Set url

메소드 상세

__construct() 공개 메소드

public __construct ( )

addBundle() 공개 메소드

Add bundles
public addBundle ( Bundle $bundle )
$bundle Bundle

fromArray() 공개 메소드

Common method to fill in entity from array
public fromArray ( array $data )
$data array

getAvatarUrl() 공개 메소드

Get avatarUrl
public getAvatarUrl ( ) : string
리턴 string

getBundleNames() 공개 메소드

Get the names of this user bundles
public getBundleNames ( ) : array
리턴 array

getBundles() 공개 메소드

Get bundles
public getBundles ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

getCreatedAt() 공개 메소드

Get createdAt
public getCreatedAt ( ) : DateTime
리턴 DateTime

getEmail() 공개 메소드

Get email
public getEmail ( ) : string
리턴 string

getFullName() 공개 메소드

Get fullName
public getFullName ( ) : string
리턴 string

getGithubId() 공개 메소드

public getGithubId ( ) : mixed
리턴 mixed

getGithubUrl() 공개 메소드

Owner profile url on GitHub
public getGithubUrl ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getLocation() 공개 메소드

Get location
public getLocation ( ) : string
리턴 string

getName() 공개 메소드

Get name
public getName ( ) : string
리턴 string

getNbBundles() 공개 메소드

Count the user bundles
public getNbBundles ( ) : integer
리턴 integer

getScore() 공개 메소드

Get score
public getScore ( ) : integer
리턴 integer

getUrl() 공개 메소드

Get url
public getUrl ( ) : string
리턴 string

hasBundles() 공개 메소드

public hasBundles ( ) : boolean
리턴 boolean

removeBundle() 공개 메소드

Remove bundles
public removeBundle ( Bundle $bundle )
$bundle Bundle

setAvatarUrl() 공개 메소드

Set avatarUrl
public setAvatarUrl ( string $avatarUrl )
$avatarUrl string

setCreatedAt() 공개 메소드

Set createdAt
public setCreatedAt ( DateTime $createdAt )
$createdAt DateTime

setEmail() 공개 메소드

Set email
public setEmail ( string $email )
$email string

setFullName() 공개 메소드

Set fullName
public setFullName ( string $fullName )
$fullName string

setGithubId() 공개 메소드

public setGithubId ( string $githubId )
$githubId string

setLocation() 공개 메소드

Set location
public setLocation ( string $location )
$location string

setName() 공개 메소드

Set name
public setName ( string $name )
$name string

setScore() 공개 메소드

Set score
public setScore ( integer $score )
$score integer

setUrl() 공개 메소드

Set url
public setUrl ( string $url )
$url string

프로퍼티 상세

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

protected $avatarUrl

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

Bundles the user owns
protected $bundles

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

User creation date (on this website)
protected $createdAt

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

User email
protected $email

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

Full name of the user, like "Thibault Duplessis"
protected $fullName

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

protected $githubId

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

protected $id

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

The user location
protected $location

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

User name, e.g. "ornicar" Like in GitHub, this name is unique
protected $name

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

Internal score of the User as the sum of his bundles' scores
protected $score

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

protected $url