Created
January 27, 2015 15:27
-
-
Save makamo/447fe4f5a026500c37f7 to your computer and use it in GitHub Desktop.
Maximum function nesting level of '100' reached, aborting! in
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 | |
namespace App\Table; | |
class Employees{ | |
public function __get($key){ | |
$method = 'get'.ucfirst($key); | |
$this->$key = $this->$method; | |
return $this->$key; | |
} | |
public function getId(){ | |
return $this->Ref_Employe; | |
} | |
public function getName(){ | |
return $this->EM_Prenom." ".$this->EM_Nom; | |
} | |
} |
Author
makamo
commented
Jan 27, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment