PATH:
home
/
lab2454c
/
omvstudio.com
/
vendor
/
spatie
/
flare-client-php
/
src
/
Glows
<?php namespace Spatie\FlareClient\Glows; class GlowRecorder { const GLOW_LIMIT = 30; /** @var array<int, Glow> */ protected array $glows = []; public function record(Glow $glow): void { $this->glows[] = $glow; $this->glows = array_slice($this->glows, static::GLOW_LIMIT * -1, static::GLOW_LIMIT); } /** @return array<int, Glow> */ public function glows(): array { return $this->glows; } public function reset(): void { $this->glows = []; } }
[-] GlowRecorder.php
[edit]
[-] Glow.php
[edit]
[+]
..