Skip to content

Commit

Permalink
Update docblocks as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Mar 1, 2016
1 parent 193f35b commit 44a014a
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions src/View/Helper/UrlHelper.php
Expand Up @@ -41,8 +41,10 @@ public function build($url = null, $full = false)
}

/**
* Generate URL for given image file. Depending on options passed provides full URL
* with domain name. Also calls Helper::assetTimestamp() to add timestamp to local files
* Generates URL for given image file.
*
* Depending on options passed provides full URL with domain name. Also calls
* `Helper::assetTimestamp()` to add timestamp to local files.
*
* @param string|array $path Path string or URL array
* @param array $options Options array. Possible keys:
Expand All @@ -59,8 +61,10 @@ public function imageUrl($path, array $options = [])
}

/**
* Generate URL for given CSS file. Depending on options passed provides full URL
* with domain name. Also calls Helper::assetTimestamp() to add timestamp to local files
* Generates URL for given CSS file.
*
* Depending on options passed provides full URL with domain name. Also calls
* `Helper::assetTimestamp()` to add timestamp to local files.
*
* @param string|array $path Path string or URL array
* @param array $options Options array. Possible keys:
Expand All @@ -78,8 +82,10 @@ public function cssUrl($path, array $options = [])
}

/**
* Generate URL for given javascript file. Depending on options passed provides full
* URL with domain name. Also calls Helper::assetTimestamp() to add timestamp to local files
* Generates URL for given javascript file.
*
* Depending on options passed provides full URL with domain name. Also calls
* `Helper::assetTimestamp()` to add timestamp to local files.
*
* @param string|array $path Path string or URL array
* @param array $options Options array. Possible keys:
Expand All @@ -97,8 +103,10 @@ public function scriptUrl($path, array $options = [])
}

/**
* Generate URL for given asset file. Depending on options passed provides full URL with domain name.
* Also calls Helper::assetTimestamp() to add timestamp to local files
* Generates URL for given asset file.
*
* Depending on options passed provides full URL with domain name. Also calls
* `Helper::assetTimestamp()` to add timestamp to local files.
*
* @param string|array $path Path string or URL array
* @param array $options Options array. Possible keys:
Expand Down

0 comments on commit 44a014a

Please sign in to comment.