GraphAware\Neo4j\OGM\Repository\BaseRepository::getTargetFullClassName PHP Method

getTargetFullClassName() private method

private getTargetFullClassName ( $className ) : string
$className
return string
    private function getTargetFullClassName($className)
    {
        $expl = explode('\\', $className);
        if (1 === count($expl)) {
            $expl2 = explode('\\', $this->className);
            if (1 !== count($expl2)) {
                unset($expl2[count($expl2) - 1]);
                $className = implode('\\', $expl2) . '\\' . $className;
            }
        }
        if (!class_exists($className)) {
            throw new \LogicException(sprintf('Guessed class name "%s" doesn\'t exist', $className));
        }
        return $className;
    }