Completed
Pull Request — master (#743)
by Asmir
05:27 queued 01:14
created
src/Context.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -106,16 +106,28 @@
 block discarded – undo
106 106
         return $this->exclusionStrategy;
107 107
     }
108 108
 
109
+    /**
110
+     * @param string $key
111
+     *
112
+     * @return string
113
+     */
109 114
     public function getAttribute($key)
110 115
     {
111 116
         return $this->attributes[$key];
112 117
     }
113 118
 
119
+    /**
120
+     * @param string $key
121
+     */
114 122
     public function hasAttribute($key)
115 123
     {
116 124
         return isset($this->attributes[$key]);
117 125
     }
118 126
 
127
+    /**
128
+     * @param string $key
129
+     * @param string $value
130
+     */
119 131
     public function setAttribute($key, $value)
120 132
     {
121 133
         $this->assertMutable();
Please login to merge, or discard this patch.