public function __construct($class, $local, $foreign = null) { $this->class = $class; $this->local = $local; $this->foreign = empty($foreign) ? $local : $foreign; }
/** * Constructor * */ public function __construct($class, $local, $foreign = null, $allowEmpty = false) { parent::__construct($class, $local, $foreign); $this->_allowEmpty = $allowEmpty; }