ResultTypeObjectAware

This Trait partially implements the ResultAwareInterface for type checking.

Events using this Trait (and the ResultAware trait) will expect event handlers to set results of an object type.

If you do not set a list of acceptable result classes any PHP object will satisfy this type check.

since

4.2.0

package

Joomla CMS

Properties

resultIsNullable

Can the result attribute values also be NULL?

since

4.2.0

Type(s)

bool

resultIsFalseable

Can the result attribute values also be boolean FALSE?

deprecated
since

4.2.0

deprecated

5.0 You should use nullable values or exceptions instead of returning boolean false results.

Type(s)

bool

resultAcceptableClasses

Acceptable class names for result values.

since

4.2.0

Type(s)

array