YetiForceCompany/YetiForceCRM

View on GitHub
app/Integrations/Pbx/Base.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/**
 * Base PBX integrations file.
 *
 * @package Integration
 *
 * @copyright YetiForce S.A.
 * @license   YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 * @author    Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
 */

namespace App\Integrations\Pbx;

/**
 * Base PBX integrations class.
 */
abstract class Base
{
    /**
     * @var string Class name
     */
    public $name = '';

    /**
     * Values to configure.
     *
     * @var string[]
     */
    public $configFields = [];

    /**
     * Perform phone call.
     *
     * @param \App\Integrations\Pbx $pbx
     */
    abstract public function performCall(\App\Integrations\Pbx $pbx);
}