Advertisement
petrabarus

Untitled

Jul 1st, 2013
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. <?php
  2.  
  3. class Klazz {
  4.     private $_attribute1;
  5.     private $_attribute2;
  6.     private $_attribute3;
  7.  
  8.     public function getAttribute1(){
  9.         return $this->_attribute1;
  10.     }
  11.  
  12.     public function setAttribute2($value){
  13.         $this->_attribute2 = $value;
  14.     }
  15.  
  16.     public function getAttribute3(){
  17.         return $this->_attribute3;
  18.     }
  19.  
  20.     public function setAttribute3($value){
  21.         $this->_attribute3 = $value;
  22.     }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement