-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/tradefurniturecompany/image/issues/1
- Loading branch information
1 parent
95fd8af
commit 4cb62da
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace TFC\Image; | ||
# 2020-10-25 | ||
final class Command extends \Df\Framework\Console\Command { | ||
/** | ||
* 2020-10-25 | ||
* @override | ||
* @see \Symfony\Component\Console\Command\Command::configure() | ||
*/ | ||
protected function configure() {$this->setName('tfc:image')->setDescription('Processes product images');} | ||
|
||
/** | ||
* 2020-10-25 | ||
* @override | ||
* @see \Df\Framework\Console\Command::p() | ||
* @used-by \Df\Framework\Console\Command::execute() | ||
* @return void | ||
*/ | ||
protected function p() {$this->output()->writeln(__METHOD__);} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version='1.0'?> | ||
<config | ||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | ||
xsi:noNamespaceSchemaLocation='urn:magento:framework:ObjectManager/etc/config.xsd' | ||
> | ||
<type name='Magento\Framework\Console\CommandListInterface'> | ||
<arguments> | ||
<argument name='commands' xsi:type='array'> | ||
<item name='uninstall_language' xsi:type='object'>TFC\Image\Command</item> | ||
</argument> | ||
</arguments> | ||
</type> | ||
</config> |