commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
SearchFullTextPrefixExpressionModel.php
1<?php
2
3declare(strict_types=1);
10
15use stdClass;
16
21{
26 protected $fullTextPrefix;
27
28
32 public function __construct(
34 ) {
35 $this->fullTextPrefix = $fullTextPrefix;
36 }
37
42 public function getFullTextPrefix()
43 {
44 if (is_null($this->fullTextPrefix)) {
46 $data = $this->raw(self::FIELD_FULL_TEXT_PREFIX);
47 if (is_null($data)) {
48 return null;
49 }
50
51 $this->fullTextPrefix = SearchFullTextPrefixValueModel::of($data);
52 }
53
55 }
56
57
62 {
63 $this->fullTextPrefix = $fullTextPrefix;
64 }
65}