Wrench\Payload\Payload::getCurrentFrame PHP Method

getCurrentFrame() protected method

Gets the current frame for the payload
protected getCurrentFrame ( ) : mixed
return mixed
    protected function getCurrentFrame()
    {
        if (empty($this->frames)) {
            array_push($this->frames, $this->getFrame());
        }
        return end($this->frames);
    }