<?php namespace AppModels; use IlluminateDatabaseEloquentModel; class Phone extends Model { /** * Get the user that owns the phone. */ public function user() { return $this->belongsTo('AppModelsUser'); } }