title: PHP: Set private, protected, public in interface?
body: <p>when I look through GitHub most projects define methods in the interface this way:</p>
  
  <pre><code>interface ExampleInterface
  {
      function getId();
  }
  </code></pre>
  
  <p>my question now is why it is bad style to define the method visability in the Interface:</p>
  
  <pre><code>interface ExampleInterface
  {
      public function getId();
  }
  </code></pre>
  
  <p>It makes the interface more strict but isn't that whats an interface used for?</p>