About 51 results
Open links in new tab
  1. What is the purpose of the `self` parameter? Why is it needed?

    For a language-agnostic consideration of the design decision, see What is the advantage of having this/self pointer mandatory explicit?. To close debugging questions where OP omitted a self …

  2. ¿Para qué sirve Self y This en PHP? - Stack Overflow en español

    Jan 10, 2018 · quería saber el uso de estos dos y sus diferencias. He visto que tienen un uso parecido, pero lo que he visto no explican realmente cuál es mejor usar y por qué.

  3. php - When should I use 'self' over '$this'? - Stack Overflow

    self - This refers to the current class name. So self::baz() is the same as Foo::baz() within the Foo class (any method on it). parent - This refers to the parent of the current class. static - This refers to the …

  4. What does "\\.self" actually do in Swift/SwiftUI? - Stack Overflow

    Jul 4, 2020 · I think it is setting the id for each list item as each item in the numbers array? Correct me if wrong - but is each id being set as whatever Int is in each entry of the numbers array? If so, then …

  5. How can I create a self-signed certificate for 'localhost'?

    I've gone through the steps detailed in How do you use HTTPS and SSL on 'localhost'?, but this sets up a self-signed certificate for my machine name, and when browsing it via https://localhost, I receive …

  6. Why do I get "TypeError: Missing 1 required positional argument: 'self'"?

    See Why do I get 'takes exactly 1 argument (2 given)' when trying to call a method? for the opposite problem.

  7. node.js - NPM self_signed_cert_in_chain - Stack Overflow

    NPM self_signed_cert_in_chain Asked 10 years, 1 month ago Modified 7 months ago Viewed 209k times

  8. dom - What does "self" mean in javascript? - Stack Overflow

    Jun 2, 2015 · self refers to the global scope - If the context is a window it will refer to window.self, while in case of a non-windowed context it will refer to the global scope of that context (e.g. in service …

  9. Mockito is currently self-attaching to enable the inline-mock-maker ...

    Dec 13, 2024 · I get this warning while testing in Spring Boot: Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add …

  10. SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed : self signed ...

    Jun 29, 2023 · In my case, I needed to handle SSL/TLS client authentication with self-signed certificate. In this case, I needed "client pem file" with server certificate and client private key, and "self-signed …