protected function neverObsolete($value)
    {
        // Remove any keys that can never be obsolete
        foreach ($this->config('never_obsolete_keys', []) as $remove) {
            $remove = "{$remove}.";

            if (substr($value, 0, strlen($remove)) === $remove
                || strpos($value, ".{$remove}") !== false
            ) {
                return true;
            }
        }

        return false;
    }
protected function neverObsolete($value)
    {
        // Remove any keys that can never be obsolete
        foreach ($this->config('never_obsolete_keys', []) as $remove) {
            $remove = "{$remove}.";

            if (substr($value, 0, strlen($remove)) === $remove
                || strpos($value, ".{$remove}") !== false
            ) {
                return true;
            }
        }

        return false;
    }
protected function neverObsolete ( $ value ) { // Remove any keys that can never be obsolete foreach ( $ this -> config ( 'never_obsolete_keys' , [ ] ) as $ remove ) { $ remove = "{$remove}." ; if ( substr ( $ value , 0 , strlen ( $ remove ) ) === $ remove || strpos ( $ value , ".{$remove}" ) !== false ) { return true ; } } return false ; }
Check key to ensure it isn't a never obsolete key.

@param string $value

@return bool
Check key to ensure it isn t a never obsolete key .