src/History.php
public function start(CommandInterface $cmd, RequestInterface $req)
    {
        $ticket = uniqid();
        $this->entries[$ticket] = [
            'command'   => $cmd,
            'request'   => $req,
            'result'    => null,
            'exception' => null,
        ];

        return $ticket;
    }
public function start(CommandInterface $cmd, RequestInterface $req)
    {
        $ticket = uniqid();
        $this->entries[$ticket] = [
            'command'   => $cmd,
            'request'   => $req,
            'result'    => null,
            'exception' => null,
        ];

        return $ticket;
    }
public function start ( CommandInterface $ cmd , RequestInterface $ req ) { $ ticket = uniqid ( ) ; $ this -> entries [ $ ticket ] = [ 'command' => $ cmd , 'request' => $ req , 'result' => null , 'exception' => null , ] ; return $ ticket ; }
Initiate an entry being added to the history.

@param CommandInterface $cmd Command be executed.
@param RequestInterface $req Request being sent.

@return string Returns the ticket used to finish the entry.
Initiate an entry being added to the history .