src/Configuration/ActionConfiguration.php
private function getCriteriaNormalizer()
    {
        return function(Options $options, $value) {
            if (!$value) {
                $idActions = [
                    'edit',
                    'delete',
                ];

                if (in_array($this->actionName, $idActions)) {
                    $value = [
                        'id',
                    ];
                }
            }

            return $value;
        };
    }
private function getCriteriaNormalizer()
    {
        return function(Options $options, $value) {
            if (!$value) {
                $idActions = [
                    'edit',
                    'delete',
                ];

                if (in_array($this->actionName, $idActions)) {
                    $value = [
                        'id',
                    ];
                }
            }

            return $value;
        };
    }
private function getCriteriaNormalizer ( ) { return function ( Options $ options , $ value ) { if ( ! $ value ) { $ idActions = [ 'edit' , 'delete' , ] ; if ( in_array ( $ this -> actionName , $ idActions ) ) { $ value = [ 'id' , ] ; } } return $ value ; } ; }
Return the criteria normalizer. It will add the id parameters for the edit and delete actions if no value is
provided.

@return Closure
Return the criteria normalizer . It will add the id parameters for the edit and delete actions if no value is provided .