Created
April 30, 2017 16:27
-
-
Save Mombuyish/4d0c15154742dbdf63142e42e2f1704d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function getBy($id) | |
{ | |
return $this->model->by($id)->get(); | |
} | |
public function getByUser($user_id) | |
{ | |
return $this->model->byUser($user_id)->get(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment