1
0
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:
David Hübner 2017-05-28 19:27:37 +02:00
parent 2b445f0033
commit ad5dffeab5
2 changed files with 18 additions and 0 deletions

View File

@ -12,6 +12,15 @@ class ModelSearch
/** @var Category */
protected $category;
/**
* ModelSearch constructor.
* @param string $query
*/
public function __construct($query = '')
{
$this->query = $query;
}
/**
* @return string
*/

View File

@ -18,6 +18,15 @@ class SetSearch
/** @var Theme */
protected $theme;
/**
* SetSearch constructor.
* @param string $query
*/
public function __construct($query = '')
{
$this->query = $query;
}
/**
* @return string
*/