phpDocumentor

SingletonPrototype extends ClassBuilder
in package

Class ThemePrototypeSingletonFactory

Table of Contents

$classSettings  : mixed
$objectList  : mixed
$instance  : SingletonPrototype
get()  : bool|mixed
return a instance for the $className param
has()  : bool
Returns true if the container can return an entry for the given identifier.
instance()  : SingletonPrototype
return the singleton instance for the prototype class
remove()  : void
Remove a prototype from the arrayList
setUp()  : void
Setup an instance of a specified class.
initialize()  : void
Initialize the prototype all the default classes of the StyleEdit
searchClassInfo()  : mixed
__construct()  : mixed
SingletonPrototype constructor.

Properties

Methods

get()

return a instance for the $className param

public get(string $className) : bool|mixed
Parameters
$className : string
Tags
throws
Exception
Return values
bool|mixed

has()

Returns true if the container can return an entry for the given identifier.

public has(string $id) : bool

Returns false otherwise.

has($id) returning true does not mean that get($id) will not throw an exception. It does however mean that get($id) will not throw a NotFoundExceptionInterface.

Parameters
$id : string

Identifier of the entry to look for.

Return values
bool

remove()

Remove a prototype from the arrayList

public remove(string $objectReference) : void
Parameters
$objectReference : string
Return values
void

setUp()

Setup an instance of a specified class.

public setUp(string $className,  $object) : void
Parameters
$className : string
$object :
Return values
void

initialize()

Initialize the prototype all the default classes of the StyleEdit

protected initialize() : void
Return values
void

__construct()

SingletonPrototype constructor.

private __construct() : mixed
Return values
mixed

Search results