Class SearchFilter
Search Filter is meant to filter out non indexable properties from model.
-
Maslosoft\Manganel\Filters\SearchFilter
implements
Maslosoft\Mangan\Interfaces\Filters\Property\TransformatorFilterInterface
Methods summary
public
boolean
|
#
fromModel( Maslosoft\Addendum\Interfaces\AnnotatedInterface $model, Maslosoft\Mangan\Meta\DocumentPropertyMeta $fieldMeta )
This will filter out:
- Fields marked with:
```
Parameters
Returns
boolean
Search(false)
2. Secret fields marked in any way with:
Secret
3. Non-persistent fields marked with:
Persistent(false)
```
|
public
boolean
|
#
toModel( Maslosoft\Addendum\Interfaces\AnnotatedInterface $model, Maslosoft\Mangan\Meta\DocumentPropertyMeta $fieldMeta )
Allow any previously set fields to be set.
Allow any previously set fields to be set.
Parameters
Returns
boolean
|