public function getPlatformClass($domainClass) {
        $relative = (strpos($domainClass, '\\') !== 0);
        $exploded = explode('\\', ltrim($domainClass, '\\'));
        $slice = array_slice($exploded, -1);
        $class = $slice[0];
        $namespace = implode('\\', array_slice($exploded, 0, -1));
        if (!empty($namespace)) $namespace .= '\\';
        if ($relative) {
            $platformClass = "\\{$this->model['package']}\\{$namespace}{$this->model['platform']}\\{$class}";
        } else {
            $platformClass = "\\{$namespace}{$this->model['platform']}\\{$class}";
        }
        return $platformClass;
    }