Last active
June 20, 2018 17:39
-
-
Save young-steveo/f4fe0845fd47a1f3ce0045e65f203149 to your computer and use it in GitHub Desktop.
Array Oriented Programming Refactored
This file contains hidden or 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 | |
final class User extends Requester { | |
public function search(SearchParams $params) : array { | |
return $this->request($params->toArray())->toArray(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment