Pantheon\Terminus\Models\User::__construct PHP Méthode

__construct() public méthode

Object constructor
public __construct ( object $attributes = null, array $options = [] )
$attributes object Attributes of this model
$options array Options with which to configure this model
    public function __construct($attributes = null, array $options = [])
    {
        parent::__construct($attributes, $options);
        $this->url = "users/{$this->id}";
    }