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