mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 12:17:48 +08:00
Update ModelOption.php
This commit is contained in:
parent
ef78ddb08f
commit
254c4b3730
@ -104,36 +104,22 @@ class ModelOption
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUses(): string
|
||||
{
|
||||
return $this->uses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $uses
|
||||
* @return ModelOption
|
||||
*/
|
||||
public function setUses(string $uses): ModelOption
|
||||
{
|
||||
$this->uses = $uses;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isRefreshFillable(): bool
|
||||
{
|
||||
return $this->refreshFillable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $refreshFillable
|
||||
* @return ModelOption
|
||||
*/
|
||||
public function setRefreshFillable(bool $refreshFillable): ModelOption
|
||||
{
|
||||
$this->refreshFillable = $refreshFillable;
|
||||
|
Loading…
Reference in New Issue
Block a user