Files
piratepoet/tests/unit/Router/RouterTestMockEndpoint.php
Vlad 59d30cc139 - Renames router URL query parameter and router class
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00

19 lines
286 B
PHP

<?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;
}
}