AppStateESS/homestead

View on GitHub
class/Command/ShowMoveinTimesViewCommand.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Homestead\Command;

use \Homestead\MoveinTimesView;

  /*
   * ShowMoveinTimesViewCommand
   *
   *   Creates and show's the interface for creating and removing movein times.
   */

class ShowMoveinTimesViewCommand extends Command {

    public function getRequestVars(){
        return array('action' => 'ShowMoveinTimesView');
    }

    public function execute(CommandContext $context){
        $view = new MoveinTimesView();
        $context->setContent($view->show());
    }
}