title: One Method with Multiple Parameters or Multiple Methods with One Parameter?
body: <p>Imagine a "Games" class used to track games between opponents.  Is it better OOP to have 1 method to retrieve games based on user input parameters or is it better to have multiple methods specific to the retrieval goals?</p>
  
  <pre><code>class Games {
    function get_games($game_id = NULL, $stadium_id = NULL, $start_date = NULL,   
        $end_date = NULL, $count = 999); {}
  }
  </code></pre>
  
  <p>VS</p>
  
  <pre><code>class Games {
    function get_all_games($count = 999); {}
    function get_game_by_id($game_id = 1); {}
    function get_games_by_stadium($stadium_id = 1); {}
    function get_games_by_dates($start_date = NULL; $end_date = NULL) {}
  }
  </code></pre>
  
  <p>Explanation of benefits and any coding / snytax tips would be appreciated.  Thanks.</p>