mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-16 20:30:09 -07:00
Add Search class constructor
This commit is contained in:
parent
2b445f0033
commit
ad5dffeab5
@ -12,6 +12,15 @@ class ModelSearch
|
||||
/** @var Category */
|
||||
protected $category;
|
||||
|
||||
/**
|
||||
* ModelSearch constructor.
|
||||
* @param string $query
|
||||
*/
|
||||
public function __construct($query = '')
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
@ -18,6 +18,15 @@ class SetSearch
|
||||
/** @var Theme */
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* SetSearch constructor.
|
||||
* @param string $query
|
||||
*/
|
||||
public function __construct($query = '')
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user