Last active
October 22, 2015 07:29
-
-
Save harunyasar/0d2f5a4088dcde71d7e4 to your computer and use it in GitHub Desktop.
Personel sınıfı için High Cohesion örneği
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 | |
class Personel { | |
private $name; | |
private $surname; | |
private $email; | |
public function getName() | |
{ | |
return $this->name; | |
} | |
public function setName($name) | |
{ | |
$this->name = $name; | |
} | |
public function getSurname() | |
{ | |
return $this->surname; | |
} | |
public function setSurname($surname) | |
{ | |
$this->surname = $surname; | |
} | |
public function getEmail() | |
{ | |
return $this->email; | |
} | |
public function setEmail($email) | |
{ | |
$this->email = $email; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment