Created
May 15, 2017 19:51
-
-
Save omarkdev/bf1d2f29f5997d19481eff495fe5ec42 to your computer and use it in GitHub Desktop.
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 | |
class Buyer { | |
protected $name; | |
protected $purchases; | |
public function addNewPurchase() | |
{ | |
$this->purchases++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment