Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getFilters()
 {
     if ($this->innerAsset) {
         return $this->innerAsset->getFilters();
     }
     return $this->filters->all();
 }
Пример #2
0
 public function testEmptyAll()
 {
     $filter = new FilterCollection();
     $this->assertInternalType('array', $filter->all(), '->all() returns an array');
 }