1
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
public function {%methodName%}($value, $data)
|
||||
{
|
||||
$value = $value ?: ($data['{%field%}'] ?? '');
|
||||
$list = $this->{%listMethodName%}();
|
||||
return $list[$value] ?? '';
|
||||
}
|
||||
Reference in New Issue
Block a user