Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767893
D654.id1647.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
751 B
Referenced Files
None
Subscribers
None
D654.id1647.diff
View Options
diff --git a/src/Build/TriggerBuildFactory.php b/src/Build/TriggerBuildFactory.php
--- a/src/Build/TriggerBuildFactory.php
+++ b/src/Build/TriggerBuildFactory.php
@@ -71,7 +71,9 @@
}
/**
- * @return bool
+ * Determines if we've a token for the specified image.
+ *
+ * @return bool true if we've a token for this image; otherwise, false.
*/
public function hasToken ($image) {
return array_key_exists($image, $this->tokens);
@@ -81,6 +83,11 @@
/// Helper methods
///
+ /**
+ * Gets the token associated to an image.
+ *
+ * @return string
+ */
protected function getToken ($image) {
if ($this->hasToken($image)) {
return $this->tokens[$image];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 04:06 (1 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259280
Default Alt Text
D654.id1647.diff (751 B)
Attached To
Mode
D654: Improve TriggerBuildFactory code comments
Attached
Detach File
Event Timeline
Log In to Comment