src/Fetchers/SerpFetcher.php
public function setCacheTTL($hours)
    {
        if (GenericValidator::validateExpirationTime($hours)) {
            $this->cacheTTL = $hours;
            return true;
        }
        return false;
    }
public function setCacheTTL($hours)
    {
        if (GenericValidator::validateExpirationTime($hours)) {
            $this->cacheTTL = $hours;
            return true;
        }
        return false;
    }
public function setCacheTTL ( $ hours ) { if ( GenericValidator :: validateExpirationTime ( $ hours ) ) { $ this -> cacheTTL = $ hours ; return true ; } return false ; }
Set the cache duration expressed in hours.
@param  int $hours
@return bool
Set the cache duration expressed in hours .