rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
namespace Imagify\CLI;
/**
* Abstrat class for CLI Command
*/
abstract class AbstractCommand implements CommandInterface {
/**
* {@inheritdoc}
*/
final public function get_name(): string {
return sprintf( 'imagify %s', $this->get_command_name() );
}
/**
* Get the "imagify" command name.
*
* @return string
*/
abstract protected function get_command_name(): string;
/**
* {@inheritdoc}
*/
public function get_synopsis(): array {
return [];
}
}