\Dewdrop\Admin\PageFactoryPageFactoryInterface

Interface for admin page factories

Summary

Methods
Constants
createPage()
listAvailablePages()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

createPage()

createPage(string  $name) : \Dewdrop\Admin\Page\PageAbstract|false

Returns a page instance for the given name or false on failure

Parameters

string $name

Returns

\Dewdrop\Admin\Page\PageAbstract|false

listAvailablePages()

listAvailablePages() : array

List all the pages made available by the factory. Should return an array of \Dewdrop\Admin\PageFactory\PageFactoryInterface objects.

Returns

array