- Renames router URL query parameter and router class

- Updates other classes to use the new name
- Updates unit tests
This commit is contained in:
Vlad
2016-08-25 09:49:32 -04:00
parent 6ff3bbbb72
commit 59d30cc139
9 changed files with 36 additions and 37 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace MailPoet\Router\Endpoints;
class MockEndpoint {
const ACTION_TEST = 'test';
public $allowed_actions = array(
self::ACTION_TEST
);
public $data;
function __construct($data) {
$this->data = $data;
}
function test() {
return $this->data;
}
}