Jinya CMS

MigrateFilesCommand extends AbstractCommand
in package

This is the base class for all commands, the cli executor expects all commands to extend this class and have a JinyaCommand attribute

Tags
codeCoverageIgnore

I really don't know how to unit test this, but it has undergone rigid by hand testing

Table of Contents

$climate  : CLImate
__construct()  : mixed
Creates a new instance of AbstractCommand. Derived classes need to call the constructor to initialize CLImate
run()  : void
Gets executed by the cli executor

Properties

$climate

protected CLImate $climate

The CLImate instance of the command

Tags

Methods

__construct()

Creates a new instance of AbstractCommand. Derived classes need to call the constructor to initialize CLImate

public __construct() : mixed
Tags
Return values
mixed

run()

Gets executed by the cli executor

public run() : void
Tags
inheritDoc
Return values
void

Search results