We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3bf84ae + ba63419 commit 24d3862Copy full SHA for 24d3862
More/EAV/Value.php
@@ -28,12 +28,15 @@ public function __construct(Attribute $attribute)
28
29
/**
30
* @param Attribute $attribute
31
+ * @return $this
32
*/
33
public function setAttribute(Attribute $attribute)
34
{
35
$this->attribute->removeValue($this); // Remove value from current attribute
36
$attribute->addValue($this); // Add value to new attribute
37
$this->attribute = $attribute;
38
+
39
+ return $this;
40
}
41
42
0 commit comments