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

Attribute Resource. More...

+ Inheritance diagram for Resource:

Public Member Functions

 __construct (string $name)
 Resource 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 $name
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAttribute
 getDefaultParameters ()
 

Detailed Description

Attribute Resource.

usages :

  • #[Resource("resourceName")]
  • #[Resource(name: "resourceName")]
Author
jc
Version
1.0.0

Definition at line 20 of file Resource.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $name)

Resource constructor.

Parameters
string$name

Definition at line 28 of file Resource.php.

Field Documentation

◆ $name

string $name

Definition at line 22 of file Resource.php.


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