public function match($subject)
    {
        $this->subject = $subject;

        $suffixLength = strlen($this->suffix);
        if (!$suffixLength) {
            return true;
        }

        return (substr($subject, -$suffixLength) === $this->suffix);
    }