PHP Класс Knp\Bundle\KnpBundlesBundle\Entity\Owner

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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