Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Rest Class Reference

Attribute Rest. More...

+ Inheritance diagram for Rest:

Public Member Functions

 __construct (?string $resource=null)
 Rest constructor.
 
- Public Member Functions inherited from BaseAttribute
 __construct ()
 
 asAnnotation ()
 
 getNamespace ()
 
 __toString ()
 
- Public Member Functions inherited from BaseAnnotationTrait
 getProperties ()
 
 getPropertiesAndValues ($props=NULL)
 
 isSameAs ($annot)
 

Data Fields

string $resource
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAttribute
 getDefaultParameters ()
 

Detailed Description

Attribute Rest.

usages :

  • #[Rest]
  • #[Rest(resource: "modelClassname")]
Author
jc
Version
1.0.1

Definition at line 19 of file Rest.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $resource = null)

Rest constructor.

Parameters
?string$resource

Definition at line 27 of file Rest.php.

Field Documentation

◆ $resource

string $resource

Definition at line 21 of file Rest.php.


The documentation for this class was generated from the following file: