Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Member Functions
ImagesResizeCommand Class Reference
Inheritance diagram for ImagesResizeCommand:

Public Member Functions

 __construct (State $appState, ImageResize $resize, ObjectManagerInterface $objectManager)
 

Protected Member Functions

 configure ()
 

Detailed Description

Definition at line 18 of file ImagesResizeCommand.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( State  $appState,
ImageResize  $resize,
ObjectManagerInterface  $objectManager 
)
Parameters
State$appState
ImageResize$resize
ObjectManagerInterface$objectManager

Definition at line 40 of file ImagesResizeCommand.php.

44  {
45  parent::__construct();
46  $this->resize = $resize;
47  $this->appState = $appState;
48  $this->objectManager = $objectManager;
49  }
$objectManager
Definition: bootstrap.php:17

Member Function Documentation

◆ configure()

configure ( )
protected

{}

Definition at line 54 of file ImagesResizeCommand.php.

55  {
56  $this->setName('catalog:images:resize')
57  ->setDescription('Creates resized product images');
58  }

The documentation for this class was generated from the following file: