public function stashPop(string $stash, bool $index = false)
    {
        $stashCommand = StashCommand::getInstance($this);
        $command = $stashCommand->pop($stash, $index);
        $this->caller->execute($command);
    }
public function stashPop(string $stash, bool $index = false)
    {
        $stashCommand = StashCommand::getInstance($this);
        $command = $stashCommand->pop($stash, $index);
        $this->caller->execute($command);
    }
public function stashPop ( string $ stash , bool $ index = false ) { $ stashCommand = StashCommand :: getInstance ( $ this ) ; $ command = $ stashCommand -> pop ( $ stash , $ index ) ; $ this -> caller -> execute ( $ command ) ; }
Applies a stash, then removes it from the stash

@param string  $stash
@param boolean $index
Applies a stash then removes it from the stash