Skip to content

Commit

Permalink
Make fail fast request extend request
Browse files Browse the repository at this point in the history
  • Loading branch information
idmontie committed Sep 18, 2015
1 parent 1897a98 commit 6fdf73e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/requests/fail-fast-request.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

namespace Nectary;

use Nectary\Request;

/**
* A request will validate based on a set of rules
*
* A request can also be used to take in options and
* pull in the data required to fulfill a request.
*/
abstract class Fail_Fast_Request {
abstract class Fail_Fast_Request extends Request {
public function validate( $error_callback ) {
$rules = $this->validation_rules();

Expand Down

0 comments on commit 6fdf73e

Please sign in to comment.