Extend/override Eloquent create method - Cannot make static method non static
问题 I'm overriding the create() Eloquent method, but when I try to call it I get Cannot make static method Illuminate\\Database\\Eloquent\\Model::create() non static in class MyModel . I call the create() method like this: $f = new MyModel(); $f->create([ 'post_type_id' => 1, 'to_user_id' => Input::get('toUser'), 'from_user_id' => 10, 'message' => Input::get('message') ]); And in the MyModel class I have this: public function create($data) { if (!Namespace\Auth::isAuthed()) throw new Exception(