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
$container
protected
ContainerInterface
$container
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
Return values
Screen|null —instantiateScreen()
private
instantiateScreen(WP_Screen $wpScreen) : ScreenInterface|null
Parameters
- $wpScreen : WP_Screen