Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- declare(strict_types = 1);
- use Illuminate\Database\Eloquent\Model;
- /**
- * @property string $email
- */
- class User extends Model
- {
- public function getEmail(): string
- {
- return $this->email;
- }
- public function setEmail(string $email): void
- {
- $this->email = $email;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement