public function login($credentials) { $this->_api = $credentials["user"] . "asd"; $this->_dev = $credentials["password"]; }