public function import(array $data, $values = null, array &$imported = array())
    {
        if (false === isset($data['imports'])) {
            return $data;
        }

        $imports = $data['imports'];

        unset($data['imports']);

        foreach ($imports as $resource) {
            $data = array_replace_recursive(
                $this->get($resource, $values, $imported),
                $data
            );
        }

        return $data;
    }