api/MarkLogic/MLPHP/RESTAPI.php
public function getProperty($key)
    {
        $params = array('format' => 'json');
        $request = new RESTRequest('GET', 'config/properties/' . $key, $params);
        try {
            $this->response = $this->apiClient->send($request);
            $property = json_decode($this->response->getBody());
            return $property->{$key};
        } catch(Exception $e) {
            echo $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . PHP_EOL;
        }
    }
public function getProperty($key)
    {
        $params = array('format' => 'json');
        $request = new RESTRequest('GET', 'config/properties/' . $key, $params);
        try {
            $this->response = $this->apiClient->send($request);
            $property = json_decode($this->response->getBody());
            return $property->{$key};
        } catch(Exception $e) {
            echo $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . PHP_EOL;
        }
    }
Get a REST API property.
Must execute create() before getting a property.

@param string key The property key.