/** * {@inheritdoc} */ public function clearFilters() { if ($this->innerAsset) { $this->innerAsset->clearFilters(); return; } $this->filters->clear(); }
public function testEmptyAll() { $filter = new FilterCollection(); $this->assertInternalType('array', $filter->all(), '->all() returns an array'); }