Skip to content

Commit fdd6d78

Browse files
committed
fix after update interfaces
1 parent 2f01e79 commit fdd6d78

File tree

2 files changed

+91
-2
lines changed

2 files changed

+91
-2
lines changed

tests/util/ContainerMock.php

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<?php
22
namespace Eukles\Container {
33

4-
use Psr\Container\ContainerInterface;
4+
use Eukles\Entity\EntityFactoryInterface;
5+
use Eukles\Service\Pagination\RequestPaginationInterface;
6+
use Eukles\Service\QueryModifier\RequestQueryModifierInterface;
7+
use Eukles\Service\ResponseBuilder\ResponseBuilderInterface;
8+
use Eukles\Service\ResponseFormatter\ResponseFormatterInterface;
9+
use Eukles\Service\RoutesClasses\RoutesClassesInterface;
10+
use Eukles\Slim\Handlers\ActionErrorInterface;
11+
use Eukles\Slim\Handlers\EntityRequestErrorInterface;
12+
use Slim\Http\Request;
13+
use Slim\Interfaces\RouterInterface;
514

615
class ContainerMock implements ContainerInterface
716
{
@@ -10,6 +19,86 @@ class ContainerMock implements ContainerInterface
1019
* @inheritdoc
1120
*/
1221
public function get($id) { }
22+
23+
/**
24+
* @return ActionErrorInterface
25+
*/
26+
public function getActionErrorHandler()
27+
{
28+
// TODO: Implement getActionErrorHandler() method.
29+
}
30+
31+
/**
32+
* @return EntityFactoryInterface
33+
*/
34+
public function getEntityFactory()
35+
{
36+
// TODO: Implement getEntityFactory() method.
37+
}
38+
39+
/**
40+
* @return EntityRequestErrorInterface
41+
*/
42+
public function getEntityRequestErrorHandler()
43+
{
44+
// TODO: Implement getEntityRequestErrorHandler() method.
45+
}
46+
47+
/**
48+
* @return Request
49+
*/
50+
public function getRequest()
51+
{
52+
// TODO: Implement getRequest() method.
53+
}
54+
55+
/**
56+
* @return RequestPaginationInterface
57+
*/
58+
public function getRequestPagination()
59+
{
60+
// TODO: Implement getRequestPagination() method.
61+
}
62+
63+
/**
64+
* @return RequestQueryModifierInterface
65+
*/
66+
public function getRequestQueryModifier()
67+
{
68+
// TODO: Implement getRequestQueryModifier() method.
69+
}
70+
71+
/**
72+
* @return ResponseBuilderInterface
73+
*/
74+
public function getResponseBuilder()
75+
{
76+
// TODO: Implement getResponseBuilder() method.
77+
}
78+
79+
/**
80+
* @return ResponseFormatterInterface
81+
*/
82+
public function getResponseFormatter()
83+
{
84+
// TODO: Implement getResponseFormatter() method.
85+
}
86+
87+
/**
88+
* @return RouterInterface
89+
*/
90+
public function getRouter()
91+
{
92+
// TODO: Implement getRouter() method.
93+
}
94+
95+
/**
96+
* @return RoutesClassesInterface
97+
*/
98+
public function getRoutesClasses()
99+
{
100+
// TODO: Implement getRoutesClasses() method.
101+
}
13102

14103
/**
15104
* @inheritdoc

tests/util/EntityRequestMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
namespace Eukles\Entity {
33

44
use Eukles\Action\ActionInterface;
5+
use Eukles\Container\ContainerInterface;
56
use Propel\Runtime\ActiveQuery\ModelCriteria;
67
use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
78
use Propel\Runtime\Map\TableMap;
8-
use Psr\Container\ContainerInterface;
99

1010
class EntityRequestMock implements EntityRequestInterface
1111
{

0 commit comments

Comments
 (0)