Skip to content

Instantly share code, notes, and snippets.

@Ocramius
Forked from bakura10/options.php
Last active December 13, 2015 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ocramius/4977476 to your computer and use it in GitHub Desktop.
Save Ocramius/4977476 to your computer and use it in GitHub Desktop.
<?php
return array(
'zfr_cron' => array(
'tasks' => array(
'factories' => array(
'remove_fake_accounts' => 'Application\Cron\RemoveFakeAccountsFactory'
)
)
)
);
// QUESTION: How can I configure tasks with options ? I could do this IN ADDITION:
return array(
'zfr_cron' => array(
'tasks' => array(
'remove_fake_accounts' => array(
'treshold' => 0.4
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment