Skip to content

Commit 1854f28

Browse files
authored
Update HasAttributes.php
1 parent 616412c commit 1854f28

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Traits/HasAttributes.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ public function setAttributes(array $attributes = [])
3434
return $this;
3535
}
3636

37+
/**
38+
* Get Attributes.
39+
*
40+
* @param array $attributes
41+
*
42+
* @return array
43+
*/
44+
public function getAttributes(): array
45+
{
46+
return $this->attributes;
47+
}
48+
3749
/**
3850
* Set attribute.
3951
*

0 commit comments

Comments
 (0)