Source of file LinkChecker.php
Size: 0,381 Bytes - Last Modified: 2021-12-23T10:30:26+00:00
/var/www/docs.ssmods.com/process/src/src/Tasks/LinkChecker.php
12345678910111213141516171819 | <?php namespace SilverStripe\ExternalLinks\Tasks; /** * Provides an interface for checking that a link is valid */ interface LinkChecker { /** * Determine the http status code for a given link * * @param string $href URL to check * @return int HTTP status code, or null if not checkable (not a link) */ public function checkLink($href); } |