src/DotsUnited/BundleFu/Bundle.php
public function getJsBundlePath()
    {
        $cacheDir = $this->getJsCachePath();

        if ($this->isRelativePath($cacheDir)) {
            $cacheDir = $this->getDocRoot() . DIRECTORY_SEPARATOR . $cacheDir;
        }

        $name = $this->getName();

        if (null === $name) {
            $name = sprintf('bundle_%s', $this->getJsFileList()->getHash());
        } elseif (strpos($name, '%s') !== false) {
            $name = sprintf($name, $this->getJsFileList()->getHash());
        }

        return sprintf(
            "%s%s%s.js",
            $cacheDir,
            DIRECTORY_SEPARATOR,
            $name
        );
    }
public function getJsBundlePath()
    {
        $cacheDir = $this->getJsCachePath();

        if ($this->isRelativePath($cacheDir)) {
            $cacheDir = $this->getDocRoot() . DIRECTORY_SEPARATOR . $cacheDir;
        }

        $name = $this->getName();

        if (null === $name) {
            $name = sprintf('bundle_%s', $this->getJsFileList()->getHash());
        } elseif (strpos($name, '%s') !== false) {
            $name = sprintf($name, $this->getJsFileList()->getHash());
        }

        return sprintf(
            "%s%s%s.js",
            $cacheDir,
            DIRECTORY_SEPARATOR,
            $name
        );
    }
public function getJsBundlePath ( ) { $ cacheDir = $ this -> getJsCachePath ( ) ; if ( $ this -> isRelativePath ( $ cacheDir ) ) { $ cacheDir = $ this -> getDocRoot ( ) . DIRECTORY_SEPARATOR . $ cacheDir ; } $ name = $ this -> getName ( ) ; if ( null === $ name ) { $ name = sprintf ( 'bundle_%s' , $ this -> getJsFileList ( ) -> getHash ( ) ) ; } elseif ( strpos ( $ name , '%s' ) !== false ) { $ name = sprintf ( $ name , $ this -> getJsFileList ( ) -> getHash ( ) ) ; } return sprintf ( "%s%s%s.js" , $ cacheDir , DIRECTORY_SEPARATOR , $ name ) ; }
Get javascript bundle path.

@return string
Get javascript bundle path .