Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use the payload object so that we are passing objects, not associativ…
…e arrays around.
  • Loading branch information
brandonsavage committed Jun 4, 2015
1 parent 3cfb7b0 commit 8420d43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Responder/Web.php
Expand Up @@ -3,6 +3,7 @@
namespace Modus\Responder;

use Aura\Html\HelperLocator;
use Aura\Payload_Interface\PayloadInterface;
use Modus\Responder\Exception;

use Aura\Accept;
Expand Down Expand Up @@ -78,10 +79,10 @@ public function __construct(
/**
* Processes the results of the Action.
*
* @param array $results
* @param PayloadInterface $payload
* @return $this
*/
abstract public function process(array $results);
abstract public function process(PayloadInterface $payload);

/**
* Prepares and sends the HTTP response. Directly outputs to the browser with print.
Expand Down

0 comments on commit 8420d43

Please sign in to comment.