Skip to main content Skip to navigation

Guides: SupportConstructor

The SupportConstructor is one of the Constructor Classes of Hiker. It's used to create the support part of the Chrome.

Here's an example of how it's used:

<?php

namespace App\Hiker\Chrome;

use Hiker\Components\Support\SupportConstructor;

class Support extends SupportConstructor
{
    protected function getRecipients(): array
    {
        return [
            '[email protected]',
            '[email protected]',
            '[email protected]',
        ];
    }
}

Required methods

getRecipients(): array

Description:

Return the support requests recipients email addresses

Example:

protected function getRecipients(): array
{
    return [
        '[email protected]',
        '[email protected]',
        '[email protected]',
    ];
}

Optional methods