[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: JsonContent.php
<?php declare(strict_types=1); /** * @license Apache 2.0 */ namespace OpenApi\Attributes; use OpenApi\Generator; #[\Attribute(\Attribute::TARGET_CLASS)] class JsonContent extends \OpenApi\Annotations\JsonContent { /** * @param string|non-empty-array<string>|null $type * @param string|class-string|object|null $ref * @param array<Examples> $examples * @param string[] $required * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum * @param array<string|int|float|bool|\UnitEnum|null>|class-string|null $enum * @param array<Schema|\OpenApi\Annotations\Schema> $allOf * @param array<Schema|\OpenApi\Annotations\Schema> $anyOf * @param array<Schema|\OpenApi\Annotations\Schema> $oneOf * @param array<string,mixed>|null $x * @param Attachable[]|null $attachables */ public function __construct( ?array $examples = null, // schema string|object|null $ref = null, ?string $schema = null, ?string $title = null, ?string $description = null, ?int $maxProperties = null, ?int $minProperties = null, ?array $required = null, ?array $properties = null, string|array|null $type = null, ?string $format = null, ?Items $items = null, ?string $collectionFormat = null, mixed $default = Generator::UNDEFINED, $maximum = null, bool|int|float|null $exclusiveMaximum = null, $minimum = null, bool|int|float|null $exclusiveMinimum = null, ?int $maxLength = null, ?int $minLength = null, ?int $maxItems = null, ?int $minItems = null, ?bool $uniqueItems = null, ?string $pattern = null, array|string|null $enum = null, ?Discriminator $discriminator = null, ?bool $readOnly = null, ?bool $writeOnly = null, ?Xml $xml = null, ?ExternalDocumentation $externalDocs = null, mixed $example = Generator::UNDEFINED, ?bool $nullable = null, ?bool $deprecated = null, ?array $allOf = null, ?array $anyOf = null, ?array $oneOf = null, AdditionalProperties|bool|null $additionalProperties = null, // annotation ?array $x = null, ?array $attachables = null ) { parent::__construct([ 'examples' => $examples ?? Generator::UNDEFINED, // schema 'ref' => $ref ?? Generator::UNDEFINED, 'schema' => $schema ?? Generator::UNDEFINED, 'title' => $title ?? Generator::UNDEFINED, 'description' => $description ?? Generator::UNDEFINED, 'maxProperties' => $maxProperties ?? Generator::UNDEFINED, 'minProperties' => $minProperties ?? Generator::UNDEFINED, 'required' => $required ?? Generator::UNDEFINED, 'properties' => $properties ?? Generator::UNDEFINED, 'type' => $type ?? Generator::UNDEFINED, 'format' => $format ?? Generator::UNDEFINED, 'collectionFormat' => $collectionFormat ?? Generator::UNDEFINED, 'default' => $default, 'maximum' => $maximum ?? Generator::UNDEFINED, 'exclusiveMaximum' => $exclusiveMaximum ?? Generator::UNDEFINED, 'minimum' => $minimum ?? Generator::UNDEFINED, 'exclusiveMinimum' => $exclusiveMinimum ?? Generator::UNDEFINED, 'maxLength' => $maxLength ?? Generator::UNDEFINED, 'minLength' => $minLength ?? Generator::UNDEFINED, 'maxItems' => $maxItems ?? Generator::UNDEFINED, 'minItems' => $minItems ?? Generator::UNDEFINED, 'uniqueItems' => $uniqueItems ?? Generator::UNDEFINED, 'pattern' => $pattern ?? Generator::UNDEFINED, 'enum' => $enum ?? Generator::UNDEFINED, 'readOnly' => $readOnly ?? Generator::UNDEFINED, 'writeOnly' => $writeOnly ?? Generator::UNDEFINED, 'xml' => $xml ?? Generator::UNDEFINED, 'example' => $example, 'nullable' => $nullable ?? Generator::UNDEFINED, 'deprecated' => $deprecated ?? Generator::UNDEFINED, 'allOf' => $allOf ?? Generator::UNDEFINED, 'anyOf' => $anyOf ?? Generator::UNDEFINED, 'oneOf' => $oneOf ?? Generator::UNDEFINED, 'additionalProperties' => $additionalProperties ?? Generator::UNDEFINED, // annotation 'x' => $x ?? Generator::UNDEFINED, 'attachables' => $attachables ?? Generator::UNDEFINED, 'value' => $this->combine($items, $discriminator, $externalDocs, $attachables), ]); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.67 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002