PHP Class Knp\Bundle\KnpBundlesBundle\Entity\Score

Afficher le fichier Open project: KnpLabs/KnpBundles Class Usage Examples

Protected Properties

Свойство Type Description
$bundle Bundle
$date Date of the score snapshot
$hash Unique score hash
$id
$value Internal value of the Bundle, based on several indicators Defines the Bundle position in lists and searches

Méthodes publiques

Méthode Description
__construct ( )
__toString ( )
getBundle ( ) : null | Bundle
getDate ( ) : DateTime Get the date of the last commit
getHash ( )
getValue ( ) : integer Get value
setBundle ( Bundle $bundle = null )
setDate ( DateTime $date ) Set date
setValue ( integer $value ) Set value

Method Details

__construct() public méthode

public __construct ( )

__toString() public méthode

public __toString ( )

getBundle() public méthode

public getBundle ( ) : null | Bundle
Résultat null | Bundle

getDate() public méthode

Get the date of the last commit
public getDate ( ) : DateTime
Résultat DateTime

getHash() public méthode

public getHash ( )

getValue() public méthode

Get value
public getValue ( ) : integer
Résultat integer

setBundle() public méthode

public setBundle ( Bundle $bundle = null )
$bundle Bundle

setDate() public méthode

Set date
public setDate ( DateTime $date )
$date DateTime

setValue() public méthode

Set value
public setValue ( integer $value )
$value integer

Property Details

$bundle protected_oe property

Bundle
protected $bundle

$date protected_oe property

Date of the score snapshot
protected $date

$hash protected_oe property

Unique score hash
protected $hash

$id protected_oe property

protected $id

$value protected_oe property

Internal value of the Bundle, based on several indicators Defines the Bundle position in lists and searches
protected $value