diff --git a/src/Server/Cpu.php b/src/Server/Cpu.php index ce6c02e..9142bd0 100644 --- a/src/Server/Cpu.php +++ b/src/Server/Cpu.php @@ -22,6 +22,7 @@ private function __construct( } /** + * @internal * @psalm-pure */ public static function of( diff --git a/src/Server/Cpu/Cores.php b/src/Server/Cpu/Cores.php index 0fde59a..029e7ab 100644 --- a/src/Server/Cpu/Cores.php +++ b/src/Server/Cpu/Cores.php @@ -17,6 +17,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param int<1, max> $value diff --git a/src/Server/Cpu/Percentage.php b/src/Server/Cpu/Percentage.php index 17c787c..869da66 100644 --- a/src/Server/Cpu/Percentage.php +++ b/src/Server/Cpu/Percentage.php @@ -16,6 +16,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @return Maybe diff --git a/src/Server/Disk/LoggerDisk.php b/src/Server/Disk/LoggerDisk.php index 63f7605..cc3bd7c 100644 --- a/src/Server/Disk/LoggerDisk.php +++ b/src/Server/Disk/LoggerDisk.php @@ -24,6 +24,9 @@ private function __construct(Disk $disk, LoggerInterface $logger) $this->logger = $logger; } + /** + * @internal + */ public static function of(Disk $disk, LoggerInterface $logger): self { return new self($disk, $logger); diff --git a/src/Server/Disk/UnixDisk.php b/src/Server/Disk/UnixDisk.php index 912401b..2f180e0 100644 --- a/src/Server/Disk/UnixDisk.php +++ b/src/Server/Disk/UnixDisk.php @@ -41,6 +41,9 @@ private function __construct(Processes $processes) $this->processes = $processes; } + /** + * @internal + */ public static function of(Processes $processes): self { return new self($processes); diff --git a/src/Server/Disk/Volume.php b/src/Server/Disk/Volume.php index 5fe52b9..e4f09cd 100644 --- a/src/Server/Disk/Volume.php +++ b/src/Server/Disk/Volume.php @@ -24,6 +24,7 @@ private function __construct( } /** + * @internal * @psalm-pure */ public static function of( diff --git a/src/Server/Disk/Volume/MountPoint.php b/src/Server/Disk/Volume/MountPoint.php index 85e8eb5..b2bc9aa 100644 --- a/src/Server/Disk/Volume/MountPoint.php +++ b/src/Server/Disk/Volume/MountPoint.php @@ -17,6 +17,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param non-empty-string $value diff --git a/src/Server/Disk/Volume/Usage.php b/src/Server/Disk/Volume/Usage.php index f922f9d..271e4d2 100644 --- a/src/Server/Disk/Volume/Usage.php +++ b/src/Server/Disk/Volume/Usage.php @@ -16,6 +16,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @return Maybe diff --git a/src/Server/LoadAverage.php b/src/Server/LoadAverage.php index 81fd144..e9a99c6 100644 --- a/src/Server/LoadAverage.php +++ b/src/Server/LoadAverage.php @@ -18,6 +18,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @return Maybe diff --git a/src/Server/Memory.php b/src/Server/Memory.php index 87af0a2..0af8b99 100644 --- a/src/Server/Memory.php +++ b/src/Server/Memory.php @@ -20,6 +20,7 @@ private function __construct( } /** + * @internal * @psalm-pure */ public static function of( diff --git a/src/Server/Memory/Bytes.php b/src/Server/Memory/Bytes.php index 1b1ed5c..ba7682b 100644 --- a/src/Server/Memory/Bytes.php +++ b/src/Server/Memory/Bytes.php @@ -30,6 +30,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param int<0, max> $value @@ -75,6 +76,7 @@ public function toString(): string } /** + * @internal * @psalm-pure * * @return Maybe diff --git a/src/Server/Process.php b/src/Server/Process.php index 43f3ebd..63c9671 100644 --- a/src/Server/Process.php +++ b/src/Server/Process.php @@ -32,6 +32,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param Maybe $start diff --git a/src/Server/Process/Command.php b/src/Server/Process/Command.php index 8c0eb09..e341991 100644 --- a/src/Server/Process/Command.php +++ b/src/Server/Process/Command.php @@ -22,6 +22,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param non-empty-string $value diff --git a/src/Server/Process/Memory.php b/src/Server/Process/Memory.php index a4c79f0..d68cf3b 100644 --- a/src/Server/Process/Memory.php +++ b/src/Server/Process/Memory.php @@ -16,6 +16,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @return Maybe diff --git a/src/Server/Process/Pid.php b/src/Server/Process/Pid.php index 990d64c..96b4b03 100644 --- a/src/Server/Process/Pid.php +++ b/src/Server/Process/Pid.php @@ -17,6 +17,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param int<1, max> $value diff --git a/src/Server/Process/User.php b/src/Server/Process/User.php index 2b3a7e1..712a802 100644 --- a/src/Server/Process/User.php +++ b/src/Server/Process/User.php @@ -17,6 +17,7 @@ private function __construct( } /** + * @internal * @psalm-pure * * @param non-empty-string $value diff --git a/src/Server/Processes/LoggerProcesses.php b/src/Server/Processes/LoggerProcesses.php index 9209ab5..88d7f46 100644 --- a/src/Server/Processes/LoggerProcesses.php +++ b/src/Server/Processes/LoggerProcesses.php @@ -26,6 +26,9 @@ private function __construct(Processes $processes, LoggerInterface $logger) $this->logger = $logger; } + /** + * @internal + */ public static function of(Processes $processes, LoggerInterface $logger): self { return new self($processes, $logger); diff --git a/src/Server/Processes/UnixProcesses.php b/src/Server/Processes/UnixProcesses.php index 1aaad19..2a79ff9 100644 --- a/src/Server/Processes/UnixProcesses.php +++ b/src/Server/Processes/UnixProcesses.php @@ -37,6 +37,9 @@ private function __construct(Clock $clock, Control\Processes $processes) $this->processes = $processes; } + /** + * @internal + */ public static function of(Clock $clock, Control\Processes $processes): self { return new self($clock, $processes); diff --git a/src/Servers/Linux.php b/src/Servers/Linux.php index 275eb3d..ee9d919 100644 --- a/src/Servers/Linux.php +++ b/src/Servers/Linux.php @@ -35,6 +35,9 @@ private function __construct(Clock $clock, Control $control) $this->disk = UnixDisk::of($control->processes()); } + /** + * @internal + */ public static function of(Clock $clock, Control $control): self { return new self($clock, $control); diff --git a/src/Servers/OSX.php b/src/Servers/OSX.php index cdd1f01..b2eb503 100644 --- a/src/Servers/OSX.php +++ b/src/Servers/OSX.php @@ -36,6 +36,9 @@ private function __construct(Clock $clock, Control $control, EnvironmentPath $pa $this->disk = UnixDisk::of($control->processes()); } + /** + * @internal + */ public static function of(Clock $clock, Control $control, EnvironmentPath $path): self { return new self($clock, $control, $path);