1 | <?php |
||
6 | class AssociationModel implements AssociationModelInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var ResultSet[] |
||
10 | */ |
||
11 | private $result = []; |
||
12 | |||
13 | /** |
||
14 | * @param ProductInterface $product |
||
15 | * @param ResultSet $result |
||
16 | */ |
||
17 | public function addResult(ProductInterface $product, ResultSet $result) |
||
21 | |||
22 | /** |
||
23 | * @param ProductInterface $product |
||
24 | * @return ResultSet |
||
25 | */ |
||
26 | public function getResult(ProductInterface $product): ResultSet |
||
30 | } |