diff --git a/reference/reflection/reflectionclass/gettraitaliases.xml b/reference/reflection/reflectionclass/gettraitaliases.xml new file mode 100644 index 0000000000..7797089b75 --- /dev/null +++ b/reference/reflection/reflectionclass/gettraitaliases.xml @@ -0,0 +1,60 @@ + + + + + + ReflectionClass::getTraitAliases + Returns an array of trait aliases + + + + &reftitle.description; + + public arrayReflectionClass::getTraitAliases + + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns an array with new method names in keys and original names (in the + format "TraitName::original") in values. + Returns &null; in case of an error. + + + + + + + diff --git a/reference/reflection/reflectionclass/gettraitnames.xml b/reference/reflection/reflectionclass/gettraitnames.xml new file mode 100644 index 0000000000..6f0092ded0 --- /dev/null +++ b/reference/reflection/reflectionclass/gettraitnames.xml @@ -0,0 +1,59 @@ + + + + + + ReflectionClass::getTraitNames + Returns an array of names of traits used by this class + + + + &reftitle.description; + + public arrayReflectionClass::getTraitNames + + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns an array with trait names in values. + Returns &null; in case of an error. + + + + + + + diff --git a/reference/reflection/reflectionclass/gettraits.xml b/reference/reflection/reflectionclass/gettraits.xml new file mode 100644 index 0000000000..1108711ec2 --- /dev/null +++ b/reference/reflection/reflectionclass/gettraits.xml @@ -0,0 +1,60 @@ + + + + + + ReflectionClass::getTraits + Returns an array of traits used by this class + + + + &reftitle.description; + + public arrayReflectionClass::getTraits + + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns an array with trait names in keys and instances of trait's + ReflectionClass in values. + Returns &null; in case of an error. + + + + + + + diff --git a/reference/reflection/reflectionclass/istrait.xml b/reference/reflection/reflectionclass/istrait.xml new file mode 100644 index 0000000000..cfc77606c9 --- /dev/null +++ b/reference/reflection/reflectionclass/istrait.xml @@ -0,0 +1,59 @@ + + + + + + ReflectionClass::isTrait + Returns whether this is a trait + + + + &reftitle.description; + + public boolReflectionClass::isTrait + + + + + + + &warn.undocumented.func; + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns &true; if this is a trait, &false; otherwise. + Returns &null; in case of an error. + + + + + + +