getConfigOption(LiskDAO::CONFIG_TIMESTAMPS)) { return false; } return true; } public function getFieldSpecificationsForConduit($object) { return array( id(new PhabricatorConduitSearchFieldSpecification()) ->setKey('dateCreated') ->setType('int') ->setDescription( pht('Epoch timestamp when the object was created.')), id(new PhabricatorConduitSearchFieldSpecification()) ->setKey('dateModified') ->setType('int') ->setDescription( pht('Epoch timestamp when the object was last updated.')), ); } public function getFieldValuesForConduit($object) { return array( 'dateCreated' => (int)$object->getDateCreated(), 'dateModified' => (int)$object->getDateModified(), ); } }