src/Endpoint/Abstracts/AbstractEndpoint.php
protected function configureData($data)
    {
        if (!empty($this->_REQUIRED_DATA)&&is_array($data)) {
            $data = $this->configureDefaultData($data);
        }
        $this->setData($data);
    }
protected function configureData($data)
    {
        if (!empty($this->_REQUIRED_DATA)&&is_array($data)) {
            $data = $this->configureDefaultData($data);
        }
        $this->setData($data);
    }
Configures Data for the Endpoint. Used mainly as an override function on implemented Endpoints.
@var $data