File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1010
1111namespace hiqdev \php \billing \plan ;
1212
13+ use hiqdev \DataMapper \Repository \RepositoryInterface ;
1314use hiqdev \php \billing \action \ActionInterface ;
1415use hiqdev \php \billing \Exception \EntityNotFoundException ;
1516use hiqdev \php \billing \order \OrderInterface ;
1617
1718/**
1819 * @author Andrii Vasyliev <[email protected] > 1920 */
20- interface PlanRepositoryInterface
21+ interface PlanRepositoryInterface extends RepositoryInterface
2122{
2223 /**
2324 * Finds suitable plan for given action: customer + type + target.
Original file line number Diff line number Diff line change 1010
1111namespace hiqdev \php \billing \tests \support \plan ;
1212
13+ use hiqdev \DataMapper \Query \Specification ;
1314use hiqdev \php \billing \action \ActionInterface ;
1415use hiqdev \php \billing \order \OrderInterface ;
1516use hiqdev \php \billing \plan \PlanInterface ;
@@ -51,4 +52,24 @@ public function getById(int $id): PlanInterface
5152 {
5253 throw new \Exception ('not implemented ' );
5354 }
55+
56+ public function count (Specification $ specification )
57+ {
58+ throw new \Exception ('not implemented ' );
59+ }
60+
61+ public function findAll (Specification $ specification )
62+ {
63+ throw new \Exception ('not implemented ' );
64+ }
65+
66+ public function findOne (Specification $ specification )
67+ {
68+ throw new \Exception ('not implemented ' );
69+ }
70+
71+ public function findOneOrFail (Specification $ specification )
72+ {
73+ throw new \Exception ('not implemented ' );
74+ }
5475}
You can’t perform that action at this time.
0 commit comments