src/yimaJquery/Deliveries/Cdn.php
public function getLibSrc($ver)
    {
        if (!$this->isValidVersion($ver)) {
            throw new \Exception(
                sprintf(
                    'Invalid library version provided "%s"',
                    $ver
                )
            );
        }

        $options = $this->options;
        $cdnUrl = rtrim($options['cdn-base'], '/').'/'.
            trim($options['cdn-subfolder'], '/').'/'.
            $ver.'/'.
            trim($options['cdn-file-path'], '/');

        return $cdnUrl;
    }
public function getLibSrc($ver)
    {
        if (!$this->isValidVersion($ver)) {
            throw new \Exception(
                sprintf(
                    'Invalid library version provided "%s"',
                    $ver
                )
            );
        }

        $options = $this->options;
        $cdnUrl = rtrim($options['cdn-base'], '/').'/'.
            trim($options['cdn-subfolder'], '/').'/'.
            $ver.'/'.
            trim($options['cdn-file-path'], '/');

        return $cdnUrl;
    }
public function getLibSrc ( $ ver ) { if ( ! $ this -> isValidVersion ( $ ver ) ) { throw new \ Exception ( sprintf ( 'Invalid library version provided "%s"' , $ ver ) ) ; } $ options = $ this -> options ; $ cdnUrl = rtrim ( $ options [ 'cdn-base' ] , '/' ) . '/' . trim ( $ options [ 'cdn-subfolder' ] , '/' ) . '/' . $ ver . '/' . trim ( $ options [ 'cdn-file-path' ] , '/' ) ; return $ cdnUrl ; }
Get src to library for specific version

@param string $ver Version of library
Get src to library for specific version