Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
tipuloidea
/
back
/
vendor
/
spatie
/
php-structure-discoverer
/
src
/
Data
:
DiscoveredAttribute.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Spatie\StructureDiscoverer\Data; use ReflectionAttribute; class DiscoveredAttribute { public function __construct( public string $class, ) { } /** * @param ReflectionAttribute<object> $reflectionAttribute */ public static function fromReflection( ReflectionAttribute $reflectionAttribute, ): self { return new self($reflectionAttribute->getName()); } }