コード例 #1
0
ファイル: LazyAsset.php プロジェクト: puli/assetic-extension
 /**
  * {@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');
 }