MetaModels\Filter\Setting\Simple::__construct PHP Method

__construct() public method

Constructor - initialize the object and store the parameters.
public __construct ( MetaModels\Filter\Setting\ICollection $collection, array $data )
$collection MetaModels\Filter\Setting\ICollection The parenting filter settings object.
$data array The attributes for this filter setting.
    public function __construct($collection, $data)
    {
        $this->collection = $collection;
        $this->data = $data;
    }