private function getCreatedAt(Description $description)
    {
        $createdAt = $description->getOptionalProperty('createdAt');

        return ($createdAt !== null) ? (new \DateTimeImmutable())->setTimestamp($createdAt) : null;
    }
private function getCreatedAt(Description $description)
    {
        $createdAt = $description->getOptionalProperty('createdAt');

        return ($createdAt !== null) ? (new \DateTimeImmutable())->setTimestamp($createdAt) : null;
    }
private function getCreatedAt ( Description $ description ) { $ createdAt = $ description -> getOptionalProperty ( 'createdAt' ) ; return ( $ createdAt !== null ) ? ( new \ DateTimeImmutable ( ) ) -> setTimestamp ( $ createdAt ) : null ; }
Get created at.

@param Description $description The venue details description.

@return \DateTimeImmutable|null
Get created at .