ICanBoogie
  • Documentation
  • API Reference
  • Accessor v1.0.3
Namespaces
  • ICanBoogie
    • Accessor
Classes
  • AccessorReflection
Interfaces
  • HasAccessor
Traits
  • AccessorCamelTrait
  • AccessorSnakeTrait
  • AccessorTrait
  • FormatAsCamel
  • FormatAsSnake
  • SerializableTrait

Class AccessorReflection

Provides methods to reflect on accessor.

Namespace: ICanBoogie\Accessor
Located at AccessorReflection.php

Methods summary

public static resolve_private_properties( string|object $reference ) : ReflectionProperty[]

Returns the private properties defined by the reference, this includes the private properties defined by the whole class inheritance.

Returns the private properties defined by the reference, this includes the private properties defined by the whole class inheritance.

Parameters

$reference
Class name or instance.

Returns

ReflectionProperty[]
public static resolve_facade_properties( string|ICanBoogie\Accessor\HasAccessor $reference ) : ReflectionProperty[]

Returns the façade properties implemented by the specified reference.

Returns the façade properties implemented by the specified reference.

A façade property is a combination of a private property with the corresponding volatile getter and setter.

Parameters

$reference
Class name or instance implementing ICanBoogie\Accessor\HasAccessor.

Returns

ReflectionProperty[]
Accessor v1.0.3 – Check on GitHub – API documentation generated by ApiGen