PHP Класс PartKeepr\StatisticBundle\Entity\StatisticSnapshot

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

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

Метод Описание
__construct ( ) Creates a new statistic snapshot.
getCategories ( ) : integer Returns the amount of categories.
getDateTime ( ) : DateTime Returns the date+time for the snapshot.
getId ( ) : integer Returns the ID of this snapshot.
getParts ( ) : integer Returns the amount of overall parts for the snapshot.
getUnits ( )
setCategories ( integer $categories ) Sets the amount of categories for the snapshot.
setDateTime ( DateTime $dateTime ) Sets the date+time for the snapshot.
setParts ( integer $parts ) Sets the amount of overall parts for the snapshot.

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

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

Creates a new statistic snapshot.
public __construct ( )

getCategories() публичный Метод

Returns the amount of categories.
public getCategories ( ) : integer
Результат integer The amount of categories

getDateTime() публичный Метод

Returns the date+time for the snapshot.
public getDateTime ( ) : DateTime
Результат DateTime The date+time for the snapshot

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

Returns the ID of this snapshot.
public getId ( ) : integer
Результат integer The ID of this snapshot

getParts() публичный Метод

Returns the amount of overall parts for the snapshot.
public getParts ( ) : integer
Результат integer The amount of parts

getUnits() публичный Метод

public getUnits ( )

setCategories() публичный Метод

Sets the amount of categories for the snapshot.
public setCategories ( integer $categories )
$categories integer The amount of categories

setDateTime() публичный Метод

Sets the date+time for the snapshot.
public setDateTime ( DateTime $dateTime )
$dateTime DateTime The date+time for the snapshot

setParts() публичный Метод

Sets the amount of overall parts for the snapshot.
public setParts ( integer $parts )
$parts integer The amount of parts