original_string: public function getFirewall($path = null)
      {
          if (!$path) {
              $path = $this->getCurrentPathRelativeToBase();
          }
          foreach ($this->firewalls as $firewall) {
              if ($firewall->isPathCovered($path)) {
                  return $firewall;
              }
          }
          return null;
      }
code: public function getFirewall($path = null)
      {
          if (!$path) {
              $path = $this->getCurrentPathRelativeToBase();
          }
          foreach ($this->firewalls as $firewall) {
              if ($firewall->isPathCovered($path)) {
                  return $firewall;
              }
          }
          return null;
      }
code_tokens: public function getFirewall ( $ path = null ) { if ( ! $ path ) { $ path = $ this -> getCurrentPathRelativeToBase ( ) ; } foreach ( $ this -> firewalls as $ firewall ) { if ( $ firewall -> isPathCovered ( $ path ) ) { return $ firewall ; } } return null ; }
docstring: Get the firewall with the specific path.
  @param string $path
  @return FirewallInterface
docstring_tokens: Get the firewall with the specific path .