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 2660c4d commit f77c189Copy full SHA for f77c189
src/Contracts/SelectableEntity.php
@@ -9,7 +9,7 @@ interface SelectableEntity
9
*
10
* @return mixed
11
*/
12
- public function getSelectableId();
+ public function getSelectableValue();
13
14
/**
15
* Get the label to be shown in a list for selection
src/SelectableModel.php
@@ -7,7 +7,7 @@ trait SelectableModel
7
8
* @inheritDoc
- public function getSelectableId()
+ public function getSelectableValue()
{
return $this->getKey();
}
0 commit comments