protected function getResolveMethod()
    {
        if (is_array($this->resolveMethod)) {
            $method = $this->resolveMethod;
        } else {
            if (strpos($this->resolveMethod, 'model:') >= 0) {
                $method = substr($this->resolveMethod, strpos($this->resolveMethod, ':') + 1);
                return $method;
            } else {
                if (strpos($this->resolveMethod, 'self:') >= 0) {
                    $method = [$this, substr($this->resolveMethod, strpos($this->resolveMethod, ':') + 1)];
                } else {
                    throw new LogicException("Unable to determine entity resolve method.");
                }
            }
        }

        if (!method_exists($method[0], $method[1])) {
            throw new LogicException("Resolve method does not exist");
        }

        return $method;
    }