isCombine() public method

public isCombine ( )
Example #1
0
 /**
  * @param AssetInterface $asset
  */
 protected function write(AssetInterface $asset)
 {
     $umask = $this->configuration->getUmask();
     if (null !== $umask) {
         $umask = umask($umask);
     }
     if ($this->configuration->isDebug() && !$this->configuration->isCombine() && $asset instanceof AssetCollection) {
         foreach ($asset as $item) {
             $this->writeAsset($item);
         }
     } else {
         $this->getAssetWriter()->writeAsset($asset);
     }
     if (null !== $umask) {
         umask($umask);
     }
 }
 public function testSetCombine()
 {
     $expected = false;
     $this->assertNull($this->object->setCombine($expected));
     $this->assertEquals($expected, $this->object->isCombine());
 }