PHP Класс Newscoop\Entity\AuthorType

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

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

Свойство Тип Описание
$authors Doctrine\Common\Collections\ArrayCollection
$id integer
$type

Открытые методы

Метод Описание
__construct ( string $type = null )
__toString ( ) : string
getId ( ) : integer Gets the value of id.
getType ( ) : string Get type field
setType ( $type ) Set type field

Описание методов

__construct() публичный метод

public __construct ( string $type = null )
$type string

__toString() публичный метод

public __toString ( ) : string
Результат string

getId() публичный метод

Gets the value of id.
public getId ( ) : integer
Результат integer

getType() публичный метод

Get type field
public getType ( ) : string
Результат string The name of the type.

setType() публичный метод

Set type field
public setType ( $type )

Описание свойств

$authors защищенное свойство

protected ArrayCollection,Doctrine\Common\Collections $authors
Результат Doctrine\Common\Collections\ArrayCollection

$id защищенное свойство

protected int $id
Результат integer

$type защищенное свойство

protected $type