type === self::TYPE_SUCCESS; } public function isSkipped(): bool { return $this->type === self::TYPE_SKIPPED; } public function isError(): bool { return $this->type === self::TYPE_ERROR; } public function isValid(): bool { return $this->isSuccess() || $this->isSkipped(); } }