| 1 | <?php |
||
| 24 | class Username extends BaseBlameableModel |
||
| 25 | { |
||
| 26 | public $hostClass = User::class; |
||
| 27 | |||
| 28 | public $idAttribute = false; |
||
| 29 | |||
| 30 | public $createdByAttribute = 'guid'; |
||
| 31 | public $updatedByAttribute = false; |
||
| 32 | |||
| 33 | public $contentAttributeRule = ['string', 'max' => 32]; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | 2 | public function __toString() |
|
| 42 | } |
||
| 43 |