public function getIncluded()
    {
        $data = [];
        $include_params = $this->getIncludeParams();

        if (!$include_params) {
            return $include_params;
        }

        foreach ($include_params->getData() as $key => $params) {
            $method = 'include' . ucfirst($key);
            $transformer = $this->getTransformer();
            $allowed = $transformer->getAllowedIncludes();

            if (in_array($key, $allowed) && method_exists($transformer, $method)) {
                $result = $transformer->$method($this->getData(), $params);
                $data[$key] = $result;
            }
        }

        return $data;
    }