protected function pushAttributes(&$subject, array $attributes, bool $unique = true)
    {
        foreach ($attributes as $attribute) {
            if ($unique === false || in_array($attribute, $subject) === false) {
                $subject[] = $attribute;
            }
        }
        return $this;
    }