private function getConfiguration()
    {
        return array_merge(
            [
                'fileMimeTypeField' => false,
                'fileNameField'     => false,
                'filePathField'     => false,
                'fileSizeField'     => false,
            ],
            $this->classMetadata->getExtension(UploadableDriver::EXTENSION_NAME),
            [
                'uploadable'        => true,
                'allowOverwrite'    => $this->allowOverwrite,
                'appendNumber'      => $this->appendNumber,
                'path'              => $this->path,
                'pathMethod'        => $this->pathMethod,
                'callback'          => $this->callback,
                'filenameGenerator' => $this->filenameGenerator,
                'maxSize'           => (float) $this->maxSize,
                'allowedTypes'      => $this->allowedTypes,
                'disallowedTypes'   => $this->disallowedTypes,
            ]
        );
    }
private function getConfiguration()
    {
        return array_merge(
            [
                'fileMimeTypeField' => false,
                'fileNameField'     => false,
                'filePathField'     => false,
                'fileSizeField'     => false,
            ],
            $this->classMetadata->getExtension(UploadableDriver::EXTENSION_NAME),
            [
                'uploadable'        => true,
                'allowOverwrite'    => $this->allowOverwrite,
                'appendNumber'      => $this->appendNumber,
                'path'              => $this->path,
                'pathMethod'        => $this->pathMethod,
                'callback'          => $this->callback,
                'filenameGenerator' => $this->filenameGenerator,
                'maxSize'           => (float) $this->maxSize,
                'allowedTypes'      => $this->allowedTypes,
                'disallowedTypes'   => $this->disallowedTypes,
            ]
        );
    }
private function getConfiguration ( ) { return array_merge ( [ 'fileMimeTypeField' => false , 'fileNameField' => false , 'filePathField' => false , 'fileSizeField' => false , ] , $ this -> classMetadata -> getExtension ( UploadableDriver :: EXTENSION_NAME ) , [ 'uploadable' => true , 'allowOverwrite' => $ this -> allowOverwrite , 'appendNumber' => $ this -> appendNumber , 'path' => $ this -> path , 'pathMethod' => $ this -> pathMethod , 'callback' => $ this -> callback , 'filenameGenerator' => $ this -> filenameGenerator , 'maxSize' => ( float ) $ this -> maxSize , 'allowedTypes' => $ this -> allowedTypes , 'disallowedTypes' => $ this -> disallowedTypes , ] ) ; }
Build the configuration, based on defaults, current extension configuration and accumulated parameters.

@return array
Build the configuration based on defaults current extension configuration and accumulated parameters .