protected function wrapData($dataArray, $dataKey = null)
    {
        if (!$dataKey) $dataKey = $this->getResourcePostKey();

        return array($dataKey => $dataArray);
    }
protected function wrapData($dataArray, $dataKey = null)
    {
        if (!$dataKey) $dataKey = $this->getResourcePostKey();

        return array($dataKey => $dataArray);
    }
protected function wrapData ( $ dataArray , $ dataKey = null ) { if ( ! $ dataKey ) $ dataKey = $ this -> getResourcePostKey ( ) ; return array ( $ dataKey => $ dataArray ) ; }
Wrap data array with resource key

@param array $dataArray
@param string $dataKey

@return array
Wrap data array with resource key