OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
tests
/
Fixtures
/
Attributes
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:54 AM
rwxr-xr-x
📄
CustomAttachable.php
685 bytes
08/07/2024 04:34:52 AM
rw-r--r--
Editing: CustomAttachable.php
Close
<?php declare(strict_types=1); /** * @license Apache 2.0 */ namespace OpenApi\Tests\Fixtures\Attributes; use OpenApi\Attributes as OAT; use OpenApi\Generator; #[\Attribute(\Attribute::TARGET_ALL | \Attribute::IS_REPEATABLE)] class CustomAttachable extends OAT\Attachable { /** * The attribute value. */ public $value = Generator::UNDEFINED; public function __construct($value = Generator::UNDEFINED) { parent::__construct([ 'value' => $value, ]); } /** * @inheritdoc */ public static $_required = ['value']; public function allowedParents(): ?array { return [OAT\Get::class]; } }