src/Services/ConnectionService.php
public function getConnections($organisationId = null, AdvancedConnectionCriteria $criteria = null)
    {
        $criteria = $criteria ?: AdvancedConnectionCriteria::create();

        return $this->request(
            new GetConnectionsRequest($organisationId, $criteria)
        );
    }
public function getConnections($organisationId = null, AdvancedConnectionCriteria $criteria = null)
    {
        $criteria = $criteria ?: AdvancedConnectionCriteria::create();

        return $this->request(
            new GetConnectionsRequest($organisationId, $criteria)
        );
    }
@param int|null                        $organisationId
@param AdvancedConnectionCriteria|null $criteria

@return array|Connection[]