October\Rain\Extension\ExtensionBase

Overview

ExtensionBase allows for "private traits"


Public Properties

public static string $extendableStaticCalledClass

extendableStaticCalledClass is the calling class when using a static method.

Protected Properties

protected array $extensionHidden

extensionHidden are properties and methods that cannot be accessed.


Public Methods

public static extend()

public static extend($callback): void

extend this class with a closure

public extensionApplyInitCallbacks()

public extensionApplyInitCallbacks(): void

public static extensionExtendCallback()

public static extensionExtendCallback(callable $callback): void 

extensionExtendCallback is a helper method for ::extend() static method

public extensionIsHiddenMethod()

public extensionIsHiddenMethod($name): void

public extensionIsHiddenProperty()

public extensionIsHiddenProperty($name): void

public static getCalledExtensionClass()

public static getCalledExtensionClass(): void

Protected Methods

protected extensionHideMethod()

protected extensionHideMethod($name): void

protected extensionHideProperty()

protected extensionHideProperty($name): void