protected function setDebugDetails(array $stack)
    {
        $stackInfo = new StackInfo($stack);
        $this->setDebug(ArrayContainer::make([
                'class'  => $stackInfo->getClassNameFromLastStack(),
                'method' => $stackInfo->getMethodNameFromLastStack(),
                'args'   => $stackInfo->getArgsFromLastStack(),
        ]));
    }