@@ -62,6 +62,9 @@ discard block |
||
| 62 | 62 | /** @var string */ |
| 63 | 63 | private $groupBy; |
| 64 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $applicationPath |
|
| 67 | + */ |
|
| 65 | 68 | public static function createForThrowable(Throwable $throwable, ContextInterface $context, ?string $applicationPath = null): self |
| 66 | 69 | { |
| 67 | 70 | return (new static()) |
@@ -74,6 +77,9 @@ discard block |
||
| 74 | 77 | ->exceptionContext($throwable); |
| 75 | 78 | } |
| 76 | 79 | |
| 80 | + /** |
|
| 81 | + * @param string $applicationPath |
|
| 82 | + */ |
|
| 77 | 83 | public static function createForMessage(string $message, string $logLevel, ContextInterface $context, ?string $applicationPath = null): self |
| 78 | 84 | { |
| 79 | 85 | $stacktrace = Stacktrace::create($applicationPath); |
@@ -163,6 +169,9 @@ discard block |
||
| 163 | 169 | return $this; |
| 164 | 170 | } |
| 165 | 171 | |
| 172 | + /** |
|
| 173 | + * @param integer|null $index |
|
| 174 | + */ |
|
| 166 | 175 | public function openFrameIndex(?int $index) |
| 167 | 176 | { |
| 168 | 177 | $this->openFrameIndex = $index; |
@@ -2,16 +2,16 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Facade\FlareClient; |
| 4 | 4 | |
| 5 | -use Facade\FlareClient\Enums\GroupingTypes; |
|
| 6 | -use Throwable; |
|
| 7 | -use Facade\FlareClient\Glows\Glow; |
|
| 8 | -use Facade\IgnitionContracts\Solution; |
|
| 9 | -use Facade\FlareClient\Concerns\UsesTime; |
|
| 10 | 5 | use Facade\FlareClient\Concerns\HasContext; |
| 11 | -use Facade\FlareClient\Stacktrace\Stacktrace; |
|
| 6 | +use Facade\FlareClient\Concerns\UsesTime; |
|
| 12 | 7 | use Facade\FlareClient\Context\ContextInterface; |
| 13 | -use Facade\FlareClient\Solutions\ReportSolution; |
|
| 14 | 8 | use Facade\FlareClient\Contracts\ProvidesFlareContext; |
| 9 | +use Facade\FlareClient\Enums\GroupingTypes; |
|
| 10 | +use Facade\FlareClient\Glows\Glow; |
|
| 11 | +use Facade\FlareClient\Solutions\ReportSolution; |
|
| 12 | +use Facade\FlareClient\Stacktrace\Stacktrace; |
|
| 13 | +use Facade\IgnitionContracts\Solution; |
|
| 14 | +use Throwable; |
|
| 15 | 15 | |
| 16 | 16 | class Report |
| 17 | 17 | { |