Core Theme Components

ContainerScreenResolver

A resolver for Wordpress admin "screens" classes. These are classes that implement ScreenInterface and can be used to extend the Wordpress admin.

Table of Contents

$container  : ContainerInterface
__construct()  : mixed
getScreen()  : Screen|null
instantiateScreen()  : ScreenInterface|null

Properties

Methods

__construct()

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface
Return values
mixed

getScreen()

public getScreen(WP_Screen $wpScreen) : Screen|null
Parameters
$wpScreen : WP_Screen
Tags
throws

InvalidArgumentException;

Return values
Screen|null

Search results