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.
1 parent e8f84b5 commit de41c5eCopy full SHA for de41c5e
CHANGELOG.md
@@ -2,6 +2,9 @@
2
3
All notable changes to `laravel-licenser` will be documented in this file.
4
5
+### 3.4.0
6
+- Added __toString() method
7
+
8
### 3.3.0
9
- Added a getter for the owner of the license
10
src/License.php
@@ -58,6 +58,11 @@ protected function getModel(Model $owner)
58
return $x;
59
}
60
61
+ public function __toString()
62
+ {
63
+ return $this->name();
64
+ }
65
66
/**
67
* Returns the owner of the license
68
*
0 commit comments