Document_Expirator implements Registerable, Standard_Service
Schedule once-off cron jobs at the time of expiry to
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- register() : mixed
- {@inheritdoc}
- run() : mixed
- Run the cron job to expire the document (move to Private status)
Methods
register()
{@inheritdoc}
public
register() : mixed
Return values
mixed —run()
Run the cron job to expire the document (move to Private status)
public
run(int $document_id) : mixed
Parameters
- $document_id : int