public function getAttributes()
    {
        $defaultPrefix = PhoneNumber::config()->get('default_country_code');
        $attributes = [
            'class'       => 'text',
            'placeholder' => _t(
                __CLASS__ . '.Placeholder',
                'Phone number links will be prefixed with +{prefix}',
                ['prefix' => $defaultPrefix]
            ),
        ];

        return array_merge(
            parent::getAttributes(),
            $attributes
        );
    }