CurlInterface.php 310 B

12345678910111213141516171819
  1. <?php
  2. namespace PHPHtmlParser;
  3. /**
  4. * Interface CurlInterface
  5. *
  6. * @package PHPHtmlParser
  7. */
  8. interface CurlInterface
  9. {
  10. /**
  11. * This method should return the content of the url in a string
  12. *
  13. * @param string $url
  14. * @return string
  15. */
  16. public function get(string $url): string;
  17. }