Commit 8010eb4 1 parent 9d45f97 commit 8010eb4 Copy full SHA for 8010eb4
File tree 3 files changed +7
-18
lines changed
3 files changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ services:
19
19
soft : -1
20
20
hard : -1
21
21
ports :
22
- - " 9200:9200"
23
- - " 9300:9300"
22
+ - 92
24
23
25
24
cerebro :
26
25
image : lmenezes/cerebro
@@ -29,20 +28,5 @@ services:
29
28
links :
30
29
- elasticsearch
31
30
32
- kibana :
33
- image : kibana:7.4.0
34
- ports :
35
- - " 5601:5601"
36
- environment :
37
- - " SERVER_NAME=localhost"
38
- - " ELASTICSEARCH_HOSTS=http://elasticsearch:9200"
39
- - " XPACK_GRAPH_ENABLED=false"
40
- - " XPACK_ML_ENABLED=false"
41
- - " XPACK_REPORTING_ENABLED=false"
42
- - " XPACK_SECURITY_ENABLED=false"
43
- - " XPACK_WATCHER_ENABLED=false"
44
- links :
45
- - elasticsearch
46
-
47
31
volumes :
48
32
esdata : {}
Original file line number Diff line number Diff line change 18
18
use MonsieurBiz \SyliusSearchPlugin \Model \Product \SearchableTrait ;
19
19
use Sylius \Component \Attribute \Model \AttributeTranslationInterface ;
20
20
use Sylius \Component \Product \Model \ProductAttribute as BaseProductAttribute ;
21
- use Sylius \Component \Product \Model \ProductAttributeTranslation ;
22
21
23
22
/**
24
23
* @ORM\Entity
Original file line number Diff line number Diff line change 17
17
use MonsieurBiz \SyliusSearchPlugin \Entity \Product \SearchableInterface ;
18
18
use MonsieurBiz \SyliusSearchPlugin \Model \Product \SearchableTrait ;
19
19
use Sylius \Component \Product \Model \ProductOption as BaseProductOption ;
20
+ use Sylius \Component \Product \Model \ProductOptionTranslationInterface ;
20
21
21
22
/**
22
23
* @ORM\Entity
25
26
class ProductOption extends BaseProductOption implements SearchableInterface
26
27
{
27
28
use SearchableTrait;
29
+
30
+ protected function createTranslation (): ProductOptionTranslationInterface
31
+ {
32
+ return new ProductOptionTranslation ();
33
+ }
28
34
}
You can’t perform that action at this time.
0 commit comments