You omitted the parameter:
public function preparedStatement($query)
(and this method should actually be static)
Next time try debugging the code before requesting. Even simple instructions echowould do here.
EDIT:, . , . $mysqli , preparedStatement(), __construct() .