Property Attributes
PHP Class with Class Attributes
Initialize the Attributes Reader
Available functions for Property Attributes
If
$property_name
isnull
, returnstrue
orfalse
based on availability of Property attributes in the class.If
$property_name
is notnull
, returnstrue
orfalse
based on availability of Property attributes for the given$property_name
.
If
$property_name
isnull
, returns all the Property attributes in the class.If
$property_name
is notnull
, returns all the Property attributes for the given method name. It will be an array of attributes. Each item on Array will be an instance of Attribute classIf given
$property_name
is not available within the list of Property attributes, this function will throwsAntonDPerera\PHPAttributesReader\Exceptions\PropertyNotFoundException
.
If given
$property_name
is not available within the list of Property attributes, this function will throwsAntonDPerera\PHPAttributesReader\Exceptions\PropertyNotFoundException
.If given
$property_name
is available within the list of Property attributes but the given$attribute_name
doesn't exists in the attributes list this function will throwsAntonDPerera\PHPAttributesReader\Exceptions\PropertyAttributeNotFoundException
.
Last updated