filterLoad() public method

public filterLoad ( Assetic\Asset\AssetInterface $asset )
$asset Assetic\Asset\AssetInterface
コード例 #1
0
 public function testCompassMixin()
 {
     $asset = new FileAsset(__DIR__ . '/fixtures/compass/compass.sass');
     $asset->load();
     $filter = new CompassFilter($_SERVER['COMPASS_BIN']);
     $filter->filterLoad($asset);
     $this->assertContains('text-decoration', $asset->getContent());
 }