public getForWebserviceExport ( $document = null, mixed $params = [] ) : array | ||
$params | mixed | |
return | array |
public function getForWebserviceExport($document = null, $params = [])
{
if ($this->date) {
return $this->date->getTimestamp();
} else {
return null;
}
}