Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as PHP by romkatsu ( 6 years ago )
<?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;
    }
}

 

Revise this Paste

Your Name: Code Language: