private function getEndpoint()

in build/ClientAnnotator.php [114:128]


    private function getEndpoint()
    {
        if (empty($this->endpoint)) {
            $service = strtolower(
                preg_replace('/Client$/', '', $this->reflection->getShortName())
            );

            $this->endpoint = [
                'simpledb' => 'sdb',
                'importexport' => 'importexport'
            ][$service];
        }

        return $this->endpoint;
    }