src/Collections/UploadedFileCollection.php
public function get(string $name): ?UploadedFileInterface
    {
        if (!isset($this->uploadedFiles[$name])) {
            return null;
        }

        return $this->uploadedFiles[$name];
    }
public function get(string $name): ?UploadedFileInterface
    {
        if (!isset($this->uploadedFiles[$name])) {
            return null;
        }

        return $this->uploadedFiles[$name];
    }
public function get ( string $ name ) : ? UploadedFileInterface { if ( ! isset ( $ this -> uploadedFiles [ $ name ] ) ) { return null ; } return $ this -> uploadedFiles [ $ name ] ; }
Returns the uploaded file by name if it exists, null otherwise.

@since 1.0.0

@param string $name The name.

@return UploadedFileInterface|null The the uploaded file by name if it exists, null otherwise.
Returns the uploaded file by name if it exists null otherwise .