Skip to content

Instantly share code, notes, and snippets.

@omarkdev
Created May 15, 2017 19:51
Show Gist options
  • Save omarkdev/bf1d2f29f5997d19481eff495fe5ec42 to your computer and use it in GitHub Desktop.
Save omarkdev/bf1d2f29f5997d19481eff495fe5ec42 to your computer and use it in GitHub Desktop.
<?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