public static function getParentClass($source)
    {
        $className = self::getClassName($source);
        $reflection = new \ReflectionClass($className);

        return $reflection->getParentClass();
    }