1: <?php
2:
3: namespace Charcoal\App\Script;
4:
5: /**
6: *
7: */
8: interface CronScriptInterface
9: {
10: /**
11: * @param boolean $useLock The boolean flag if a lock should be used.
12: * @return CronScriptInterface Chainable
13: */
14: public function setUseLock($useLock);
15:
16: /**
17: * @return boolean
18: */
19: public function useLock();
20:
21: /**
22: * @return boolean
23: */
24: public function startLock();
25:
26: /**
27: * @return void
28: */
29: public function stopLock();
30: }
31: