Skip to content

Instantly share code, notes, and snippets.

@richlloydmiles
Last active January 5, 2019 09:15
Show Gist options
  • Save richlloydmiles/e82d2f8474a7477279234b6e2c606bda to your computer and use it in GitHub Desktop.
Save richlloydmiles/e82d2f8474a7477279234b6e2c606bda to your computer and use it in GitHub Desktop.
<?php
class Person {
protected $name, $email, $id;
public function setName($name) {
$this->name = $name;
}
public function getName() {
return $this->name;
}
public function setEmail($email) {
$this->email = $email;
}
public function getEmail() {
return $this->email;
}
public function create() {
}
public function read() {
}
public function update() {
}
public function delete() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment