public function doPerPhaseSetup()
{
// shorthand
$st = $this->st;
$story = $st->getStory();
// do we have anything to do?
if (!$story->hasPerPhaseSetup()) {
return;
}
// get the callback to call
$callbacks = $story->getPerPhaseSetup();
// make the call
foreach ($callbacks as $callback) {
call_user_func($callback, $st);
}
// all done
}