• PHP reference
  • Helpers

ExtendableObject

class Core\Support\ExtendableObject

Base class for singletons and extensions.

Methods

__construct()

Constructor.

final static ExtendableObject instance()

Get instance.

Return Value

final static boolean hasInstance()

Check whether there is an instance of this class available.

Return Value

  • boolean

final boolean extension($extension)

Call class method, if it exists.

Parameters

  • $extension

Return Value

  • boolean