public function ok() { if ($this->theMessage == "load jamed") { MusicPlayer::stop(); } PHPFIT_Fixture_Action::$actor = $this->caller; }
public static function failLoadJam() { PHPFIT_Fixture_Action::$actor = new Dialog("load jamed", PHPFIT_Fixture_Action::$actor); }
/** * Implements start fixture * * Start aClass - Subsequent commands are directed to an instance of * aClass. This is similar to navigating to a particular GUI screen. * */ public function start() { $aClass = $this->cells->more->text(); self::$actor = $this->loadFixture($aClass); }