ApiPlatform\Core\Util\ClassInfoTrait::getObjectClass PHP Method

getObjectClass() private method

Get class name of the given object.
private getObjectClass ( object $object ) : string
$object object
return string
    private function getObjectClass($object)
    {
        return class_exists(ClassUtils::class) ? ClassUtils::getClass($object) : get_class($object);
    }
ClassInfoTrait