-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from delyriand/feature/index-image-type
- Loading branch information
Showing
21 changed files
with
1,408 additions
and
653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
->in(__DIR__) | ||
->exclude( | ||
[ | ||
'generated', | ||
'tests/Application', | ||
] | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,43 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Monsieur Biz' Search plugin for Sylius. | ||
* | ||
* (c) Monsieur Biz <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace MonsieurBiz\SyliusSearchPlugin\Generated\Model; | ||
|
||
class ChannelDTO | ||
{ | ||
/** | ||
* @var array | ||
*/ | ||
protected $initialized = []; | ||
public function isInitialized($property) : bool | ||
{ | ||
return array_key_exists($property, $this->initialized); | ||
} | ||
/** | ||
* | ||
* | ||
* @var string | ||
*/ | ||
protected $code; | ||
|
||
public function getCode(): string | ||
/** | ||
* | ||
* | ||
* @return string | ||
*/ | ||
public function getCode() : string | ||
{ | ||
return $this->code; | ||
} | ||
|
||
public function setCode(string $code): self | ||
/** | ||
* | ||
* | ||
* @param string $code | ||
* | ||
* @return self | ||
*/ | ||
public function setCode(string $code) : self | ||
{ | ||
$this->initialized['code'] = true; | ||
$this->code = $code; | ||
|
||
return $this; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,71 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Monsieur Biz' Search plugin for Sylius. | ||
* | ||
* (c) Monsieur Biz <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace MonsieurBiz\SyliusSearchPlugin\Generated\Model; | ||
|
||
class ImageDTO | ||
{ | ||
/** | ||
* @var string|null | ||
* @var array | ||
*/ | ||
protected $initialized = []; | ||
public function isInitialized($property) : bool | ||
{ | ||
return array_key_exists($property, $this->initialized); | ||
} | ||
/** | ||
* | ||
* | ||
* @var null|string | ||
*/ | ||
protected $path; | ||
|
||
public function getPath(): ?string | ||
/** | ||
* | ||
* | ||
* @var null|string | ||
*/ | ||
protected $type; | ||
/** | ||
* | ||
* | ||
* @return null|string | ||
*/ | ||
public function getPath() : ?string | ||
{ | ||
return $this->path; | ||
} | ||
|
||
public function setPath(?string $path): self | ||
/** | ||
* | ||
* | ||
* @param null|string $path | ||
* | ||
* @return self | ||
*/ | ||
public function setPath(?string $path) : self | ||
{ | ||
$this->initialized['path'] = true; | ||
$this->path = $path; | ||
|
||
return $this; | ||
} | ||
} | ||
/** | ||
* | ||
* | ||
* @return null|string | ||
*/ | ||
public function getType() : ?string | ||
{ | ||
return $this->type; | ||
} | ||
/** | ||
* | ||
* | ||
* @param null|string $type | ||
* | ||
* @return self | ||
*/ | ||
public function setType(?string $type) : self | ||
{ | ||
$this->initialized['type'] = true; | ||
$this->type = $type; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,127 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Monsieur Biz' Search plugin for Sylius. | ||
* | ||
* (c) Monsieur Biz <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace MonsieurBiz\SyliusSearchPlugin\Generated\Model; | ||
|
||
class PricingDTO | ||
{ | ||
/** | ||
* @var array | ||
*/ | ||
protected $initialized = []; | ||
public function isInitialized($property) : bool | ||
{ | ||
return array_key_exists($property, $this->initialized); | ||
} | ||
/** | ||
* | ||
* | ||
* @var string | ||
*/ | ||
protected $channelCode; | ||
|
||
/** | ||
* @var int|null | ||
* | ||
* | ||
* @var null|int | ||
*/ | ||
protected $price; | ||
|
||
/** | ||
* @var int|null | ||
* | ||
* | ||
* @var null|int | ||
*/ | ||
protected $originalPrice; | ||
|
||
/** | ||
* | ||
* | ||
* @var bool | ||
*/ | ||
protected $priceReduced; | ||
|
||
public function getChannelCode(): string | ||
/** | ||
* | ||
* | ||
* @return string | ||
*/ | ||
public function getChannelCode() : string | ||
{ | ||
return $this->channelCode; | ||
} | ||
|
||
public function setChannelCode(string $channelCode): self | ||
/** | ||
* | ||
* | ||
* @param string $channelCode | ||
* | ||
* @return self | ||
*/ | ||
public function setChannelCode(string $channelCode) : self | ||
{ | ||
$this->initialized['channelCode'] = true; | ||
$this->channelCode = $channelCode; | ||
|
||
return $this; | ||
} | ||
|
||
public function getPrice(): ?int | ||
/** | ||
* | ||
* | ||
* @return null|int | ||
*/ | ||
public function getPrice() : ?int | ||
{ | ||
return $this->price; | ||
} | ||
|
||
public function setPrice(?int $price): self | ||
/** | ||
* | ||
* | ||
* @param null|int $price | ||
* | ||
* @return self | ||
*/ | ||
public function setPrice(?int $price) : self | ||
{ | ||
$this->initialized['price'] = true; | ||
$this->price = $price; | ||
|
||
return $this; | ||
} | ||
|
||
public function getOriginalPrice(): ?int | ||
/** | ||
* | ||
* | ||
* @return null|int | ||
*/ | ||
public function getOriginalPrice() : ?int | ||
{ | ||
return $this->originalPrice; | ||
} | ||
|
||
public function setOriginalPrice(?int $originalPrice): self | ||
/** | ||
* | ||
* | ||
* @param null|int $originalPrice | ||
* | ||
* @return self | ||
*/ | ||
public function setOriginalPrice(?int $originalPrice) : self | ||
{ | ||
$this->initialized['originalPrice'] = true; | ||
$this->originalPrice = $originalPrice; | ||
|
||
return $this; | ||
} | ||
|
||
public function getPriceReduced(): bool | ||
/** | ||
* | ||
* | ||
* @return bool | ||
*/ | ||
public function getPriceReduced() : bool | ||
{ | ||
return $this->priceReduced; | ||
} | ||
|
||
public function setPriceReduced(bool $priceReduced): self | ||
/** | ||
* | ||
* | ||
* @param bool $priceReduced | ||
* | ||
* @return self | ||
*/ | ||
public function setPriceReduced(bool $priceReduced) : self | ||
{ | ||
$this->initialized['priceReduced'] = true; | ||
$this->priceReduced = $priceReduced; | ||
|
||
return $this; | ||
} | ||
} | ||
} |
Oops, something went wrong.