Download the PHP package welcomattic/has-attributes without Composer
On this page you can find all versions of the php package welcomattic/has-attributes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download welcomattic/has-attributes
More information about welcomattic/has-attributes
Files in welcomattic/has-attributes
Download welcomattic/has-attributes
More information about welcomattic/has-attributes
Files in welcomattic/has-attributes
Vendor welcomattic
Package has-attributes
Short Description Check if a class, a method or a property has an attribute
License MIT
Package has-attributes
Short Description Check if a class, a method or a property has an attribute
License MIT
Please rate this library. Is it a good library?
Informations about the package has-attributes
HasAttribute
For years, PHP has made it easy to check whether an object is an instance of a given class. However, it's not as simple to check that an object's class has Attribute.
This package provides some functions to make it easier to check whether an object's class has a given Attribute.
Installation
Usage
You can also check on object methods or properties:
It also supports Attribute inheritance:
Credits
This package is based on an idea from lyrixx, and was implemented by welcomattic and Korbeil.
All versions of has-attributes with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package welcomattic/has-attributes contains the following files
Loading the files please wait ....