interface IPresenterFactory

Responsible for creating a new instance of given presenter.

Methods

string
getPresenterClass(string $name)

Generates and checks presenter class name.

createPresenter(string $name)

Creates new presenter instance.

Details

at line 23
string getPresenterClass(string $name)

Generates and checks presenter class name.

Parameters

string $name

Return Value

string

Exceptions

InvalidPresenterException

at line 28
IPresenter createPresenter(string $name)

Creates new presenter instance.

Parameters

string $name

Return Value

IPresenter