File "Authenticated.php"
Full Path: /var/www/html/back/vendor/knuckleswtf/scribe/src/Attributes/Authenticated.php
File size: 376 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Knuckles\Scribe\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_FUNCTION | Attribute::TARGET_METHOD | Attribute::TARGET_CLASS)]
class Authenticated
{
public function __construct(
public ?bool $authenticated = true,
)
{
}
public function toArray()
{
return ["authenticated" => $this->authenticated];
}
}