/** * Object constructor * * @param string $hostname * @param string $username * @param string $password * @param string|null $proxy */ public function __construct($hostname, $username, $password, $proxy = null) { parent::__construct(); $this->auth($hostname, $username, $password); //todo ??? constructor should return instance instead of boolean value //return $this->_is_auth; }
public function __construct() { parent::__construct(); $this->className = __CLASS__; }