public function dependentOnObject(callable $dependentStageDefineCallback, array $fieldNamesDefinedInStage = [])
    {
        $requiredParameters = Reflection::fromCallable($dependentStageDefineCallback)->getNumberOfRequiredParameters();

        if ($this->isCreateForm()) {
            if ($requiredParameters === 1) {
                $dependentStageDefineCallback($this);
            }

            return;
        }

        $this->dependentOn([], function (CrudFormDefinition $definition, array $previousData, $object) use ($dependentStageDefineCallback) {
            $dependentStageDefineCallback($definition, $object);
        }, $fieldNamesDefinedInStage);
    }