DataSift\Storyplayer\PlayerLib\StoryTeller::setPersistDevice PHP Method

setPersistDevice() public method

public setPersistDevice ( ) : void
return void
    public function setPersistDevice()
    {
        $this->persistDevice = true;
    }

Usage Example

 public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables)
 {
     // are we persisting the device?
     if (isset($engine->options->persistDevice) && $engine->options->persistDevice) {
         $st->setPersistDevice();
     }
 }
All Usage Examples Of DataSift\Storyplayer\PlayerLib\StoryTeller::setPersistDevice