<?php debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0): array
<?php public function record(Data $data) { $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 8); $file = (string)Arr::get($backtrace, '6.file'); $lineNumber = (int)Arr::get($backtrace, '6.line');