PHP Class Webiny\Component\Entity\Attribute\DateTimeAttribute

Inheritance: extends Webiny\Component\Entity\Attribute\DateAttributeAbstract
Show file Open project: Webiny/Framework

Public Methods

Method Description
getTimestamp ( ) : integer | null Get unix timestamp from current attribute value
Returns null if value is not set

Method Details

getTimestamp() public method

Get unix timestamp from current attribute value
Returns null if value is not set
public getTimestamp ( ) : integer | null
return integer | null